Class: Inch::CLI::Command::Output::Show

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

Constant Summary collapse

COLOR =
:color132
BG_COLOR =
:color138
LJUST =
20

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Base

#print_file_info, #priority_arrow

Methods included from TraceHelper

#ui

Constructor Details

#initialize(options, objects) ⇒ Show

Returns a new instance of Show.



12
13
14
15
16
17
# File 'lib/inch/cli/command/output/show.rb', line 12

def initialize(options, objects)
  @options = options
  @objects = objects

  display_objects
end

Instance Attribute Details

#objectsObject (readonly)

Returns the value of attribute objects.



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

def objects
  @objects
end