Class: Trailblazer::Developer::Trace::Present::TreeNodes::Node
- Inherits:
-
Struct
- Object
- Struct
- Trailblazer::Developer::Trace::Present::TreeNodes::Node
- Defined in:
- lib/trailblazer/developer/trace/present.rb
Instance Attribute Summary collapse
-
#input ⇒ Object
Returns the value of attribute input.
-
#level ⇒ Object
Returns the value of attribute level.
-
#options ⇒ Object
Returns the value of attribute options.
-
#output ⇒ Object
Returns the value of attribute output.
-
#value ⇒ Object
Returns the value of attribute value.
Instance Method Summary collapse
-
#method_missing(name) ⇒ Object
Allow access to any custom key from options, eg.
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
#method_missing(name) ⇒ Object
Allow access to any custom key from options, eg. color_map
45 46 47 |
# File 'lib/trailblazer/developer/trace/present.rb', line 45 def method_missing(name, *) [name] end |
Instance Attribute Details
#input ⇒ Object
Returns the value of attribute input
43 44 45 |
# File 'lib/trailblazer/developer/trace/present.rb', line 43 def input @input end |
#level ⇒ Object
Returns the value of attribute level
43 44 45 |
# File 'lib/trailblazer/developer/trace/present.rb', line 43 def level @level end |
#options ⇒ Object
Returns the value of attribute options
43 44 45 |
# File 'lib/trailblazer/developer/trace/present.rb', line 43 def @options end |
#output ⇒ Object
Returns the value of attribute output
43 44 45 |
# File 'lib/trailblazer/developer/trace/present.rb', line 43 def output @output end |
#value ⇒ Object
Returns the value of attribute value
43 44 45 |
# File 'lib/trailblazer/developer/trace/present.rb', line 43 def value @value end |