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

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

Defined Under Namespace

Classes: CommentAndAbbrevSource

Constant Summary collapse

COLOR =

magenta-ish

:color198
BG_COLOR =

magenta-ish

:color207
COMMENT_COLOR =
:dark
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) ⇒ Inspect

Returns a new instance of Inspect.



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

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