Class: Lolita::Navigation::Tree
- Includes:
- ObservedArray
- Defined in:
- lib/lolita/navigation.rb
Instance Method Summary collapse
-
#initialize ⇒ Tree
constructor
A new instance of Tree.
Methods included from ObservedArray
#<<, #[]=, #each, #insert, #method_missing, #push
Constructor Details
#initialize ⇒ Tree
Returns a new instance of Tree.
7 8 9 |
# File 'lib/lolita/navigation.rb', line 7 def initialize @branches=[] end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Lolita::ObservedArray