Class: ZOMG::IDL::Visitors::Duhr
- Inherits:
-
Object
- Object
- ZOMG::IDL::Visitors::Duhr
- Defined in:
- lib/zomg/idl/visitors/duhr.rb
Overview
Stupid path navigation
Instance Attribute Summary collapse
-
#tree ⇒ Object
Returns the value of attribute tree.
Instance Method Summary collapse
- #[](i) ⇒ Object
-
#initialize(tree) ⇒ Duhr
constructor
A new instance of Duhr.
- #method_missing(sym, *args) ⇒ Object
- #to_sexp ⇒ Object
Constructor Details
#initialize(tree) ⇒ Duhr
Returns a new instance of Duhr.
7 8 9 |
# File 'lib/zomg/idl/visitors/duhr.rb', line 7 def initialize(tree) @tree = tree end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
Instance Attribute Details
#tree ⇒ Object
Returns the value of attribute tree.
6 7 8 |
# File 'lib/zomg/idl/visitors/duhr.rb', line 6 def tree @tree end |