Class: TarvitHelpers::HashPresenter::Observable
- Defined in:
- lib/tarvit-helpers/modules/hash_presenter/observable.rb
Instance Attribute Summary
Attributes inherited from Simple
Instance Method Summary collapse
- #_hash ⇒ Object
-
#initialize(hash, levels = [], parent = nil) ⇒ Observable
constructor
A new instance of Observable.
Methods inherited from Simple
Constructor Details
#initialize(hash, levels = [], parent = nil) ⇒ Observable
Returns a new instance of Observable.
4 5 6 7 |
# File 'lib/tarvit-helpers/modules/hash_presenter/observable.rb', line 4 def initialize(hash, levels=[], parent=nil) super @_hash = hash end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class TarvitHelpers::HashPresenter::Simple
Instance Method Details
#_hash ⇒ Object
9 10 11 |
# File 'lib/tarvit-helpers/modules/hash_presenter/observable.rb', line 9 def _hash _prepare_keys(@_hash) end |