Class: Inch::CLI::Command::Inspect
Instance Attribute Summary
Attributes inherited from BaseObject
#object, #objects
Attributes inherited from Base
#source_parser
Instance Method Summary
collapse
Methods inherited from BaseObject
#initialize, #prepare_objects
Methods inherited from Base
#initialize, #name, run
#debug, #trace, #trace_header
Instance Method Details
#description ⇒ Object
5
6
7
|
# File 'lib/inch/cli/command/inspect.rb', line 5
def description
'Inspects an object'
end
|
#run(*args) ⇒ Object
13
14
15
16
|
# File 'lib/inch/cli/command/inspect.rb', line 13
def run(*args)
prepare_objects(*args)
Output::Inspect.new(@options, objects)
end
|
#usage ⇒ Object
9
10
11
|
# File 'lib/inch/cli/command/inspect.rb', line 9
def usage
'Usage: inch inspect [paths] OBJECT_NAME [[OBJECT_NAME2] ...] [options]'
end
|