Class: RIO::Ext::YAML::Tie::Root
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
92 93 94 |
# File 'lib/rio/ext/yaml/tie.rb', line 92 def method_missing(sym,*args) @root.__send__(sym,*args) end |
Instance Attribute Details
#dirty ⇒ Object
Returns the value of attribute dirty.
79 80 81 |
# File 'lib/rio/ext/yaml/tie.rb', line 79 def dirty @dirty end |
Instance Method Details
#dirty? ⇒ Boolean
88 89 90 |
# File 'lib/rio/ext/yaml/tie.rb', line 88 def dirty?() @dirty end |