Class: Inch::CLI::Command::Output::List
- Defined in:
- lib/inch/cli/command/output/list.rb
Constant Summary collapse
- PER_RANGE =
10
Constants inherited from Base
Base::PRIORITY_ARROWS, Base::PRIORITY_MAP
Instance Attribute Summary collapse
-
#objects ⇒ Object
readonly
Returns the value of attribute objects.
Instance Method Summary collapse
-
#initialize(options, objects, ranges) ⇒ List
constructor
A new instance of List.
Methods inherited from Base
Methods included from TraceHelper
Constructor Details
#initialize(options, objects, ranges) ⇒ List
Returns a new instance of List.
10 11 12 13 14 15 16 17 |
# File 'lib/inch/cli/command/output/list.rb', line 10 def initialize(, objects, ranges) = @objects = objects @ranges = ranges @omitted = 0 display_list end |
Instance Attribute Details
#objects ⇒ Object (readonly)
Returns the value of attribute objects.
6 7 8 |
# File 'lib/inch/cli/command/output/list.rb', line 6 def objects @objects end |