Class: Atom::SimpleExtensions::ValueProxy
- Inherits:
-
Array
- Object
- Array
- Atom::SimpleExtensions::ValueProxy
- Defined in:
- lib/atom.rb
Instance Attribute Summary collapse
-
#as_attribute ⇒ Object
Returns the value of attribute as_attribute.
Instance Method Summary collapse
-
#initialize ⇒ ValueProxy
constructor
A new instance of ValueProxy.
Constructor Details
#initialize ⇒ ValueProxy
Returns a new instance of ValueProxy.
66 67 68 69 |
# File 'lib/atom.rb', line 66 def initialize super([]) @as_attribute = false end |
Instance Attribute Details
#as_attribute ⇒ Object
Returns the value of attribute as_attribute.
65 66 67 |
# File 'lib/atom.rb', line 65 def as_attribute @as_attribute end |