Class: Inch::CLI::Command::Output::Inspect

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

Constant Summary collapse

COLOR =

magenta-ish

:color198
BG_COLOR =

magenta-ish

:color207
LJUST =
20

Constants inherited from Base

Base::PRIORITY_ARROWS, Base::PRIORITY_MAP

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Base

#priority_arrow

Methods included from TraceHelper

#debug, #trace, #trace_header

Constructor Details

#initialize(options, objects) ⇒ Inspect

Returns a new instance of Inspect.



12
13
14
15
16
17
# File 'lib/inch/cli/command/output/inspect.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/inspect.rb', line 6

def objects
  @objects
end