Class: RIO::Ext::YAML::Tie::Base
Direct Known Subclasses
Instance Attribute Summary collapse
-
#doc ⇒ Object
readonly
Returns the value of attribute doc.
Instance Method Summary collapse
-
#initialize(doc, cont = nil) ⇒ Base
constructor
A new instance of Base.
Constructor Details
#initialize(doc, cont = nil) ⇒ Base
Returns a new instance of Base.
86 87 88 89 |
# File 'lib/rio/ext/yaml/tie.rb', line 86 def initialize(doc,cont=nil) @doc = doc @cont = cont end |
Instance Attribute Details
#doc ⇒ Object (readonly)
Returns the value of attribute doc.
85 86 87 |
# File 'lib/rio/ext/yaml/tie.rb', line 85 def doc @doc end |