Class: FlameChannelParser::Inspector
- Inherits:
-
Object
- Object
- FlameChannelParser::Inspector
- Defined in:
- lib/inspector.rb
Overview
Prints out a viewable tree of channel metadata. Useful when you need to inspect comparable setups for small differentces in channel ordering and animation.
Defined Under Namespace
Classes: OH
Instance Method Summary collapse
-
#initialize(channels_arr) ⇒ Inspector
constructor
A new instance of Inspector.
- #pretty_print(output = $stdout) ⇒ Object
Constructor Details
Instance Method Details
#pretty_print(output = $stdout) ⇒ Object
10 11 12 13 |
# File 'lib/inspector.rb', line 10 def pretty_print(output = $stdout) @out = output print_branch(@branches, initial_indent = 0) end |