Class: VivlioStarter::CLI::IndexCommands::UnifiedPageBuilder::Limitation

Inherits:
Data
  • Object
show all
Defined in:
lib/vivlio_starter/cli/index/unified_page_builder.rb

Overview

参照を絞った事実。呼び出し元が必ず報告する(no silent caps・R6)

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#limitObject (readonly)

Returns the value of attribute limit

Returns:

  • (Object)

    the current value of limit



122
123
124
# File 'lib/vivlio_starter/cli/index/unified_page_builder.rb', line 122

def limit
  @limit
end

#styleObject (readonly)

Returns the value of attribute style

Returns:

  • (Object)

    the current value of style



122
123
124
# File 'lib/vivlio_starter/cli/index/unified_page_builder.rb', line 122

def style
  @style
end

#termsObject (readonly)

Returns the value of attribute terms

Returns:

  • (Object)

    the current value of terms



122
123
124
# File 'lib/vivlio_starter/cli/index/unified_page_builder.rb', line 122

def terms
  @terms
end

Instance Method Details

#any?Boolean

Returns:

  • (Boolean)


123
# File 'lib/vivlio_starter/cli/index/unified_page_builder.rb', line 123

def any? = terms.any?

#sizeObject



124
# File 'lib/vivlio_starter/cli/index/unified_page_builder.rb', line 124

def size = terms.size