Class: Inch::CLI::Command::Output::List

Inherits:
Base
  • Object
show all
Defined in:
lib/inch/cli/command/output/list.rb

Constant Summary collapse

PER_RANGE =
10

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Base

#print_file_info, #priority_arrow, #ui

Methods included from TraceHelper

#ui

Constructor Details

#initialize(options, objects, grade_lists) ⇒ 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(options, objects, grade_lists)
  @options = options
  @objects = objects
  @grade_lists = grade_lists
  @omitted = 0

  display_list
end

Instance Attribute Details

#objectsObject (readonly)

Returns the value of attribute objects



6
7
8
# File 'lib/inch/cli/command/output/list.rb', line 6

def objects
  @objects
end