Class: RIO::Ext::YAML::Tie::Root
- Extended by:
- Forwardable
- Defined in:
- lib/rio/ext/yaml/tie.rb
Instance Attribute Summary collapse
-
#dirty ⇒ Object
Returns the value of attribute dirty.
Attributes inherited from Base
Instance Method Summary collapse
- #dirty? ⇒ Boolean
-
#initialize(doc) ⇒ Root
constructor
A new instance of Root.
- #method_missing(sym, *args) ⇒ Object
Constructor Details
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
#method_missing(sym, *args) ⇒ Object
106 107 108 |
# File 'lib/rio/ext/yaml/tie.rb', line 106 def method_missing(sym,*args) @root.__send__(sym,*args) end |
Instance Attribute Details
#dirty ⇒ Object
Returns the value of attribute dirty.
93 94 95 |
# File 'lib/rio/ext/yaml/tie.rb', line 93 def dirty @dirty end |
Instance Method Details
#dirty? ⇒ Boolean
102 103 104 |
# File 'lib/rio/ext/yaml/tie.rb', line 102 def dirty?() @dirty end |