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.
73 74 75 76 |
# File 'lib/rio/ext/yaml/tie.rb', line 73 def initialize(doc,cont=nil) @doc = doc @cont = cont end |
Instance Attribute Details
#doc ⇒ Object (readonly)
Returns the value of attribute doc.
72 73 74 |
# File 'lib/rio/ext/yaml/tie.rb', line 72 def doc @doc end |