Method: Cornerstore::Property#initialize
- Defined in:
- lib/cornerstore/api/property.rb
#initialize(attributes = {}, parent = nil) ⇒ Property
Returns a new instance of Property.
19 20 21 22 23 24 |
# File 'lib/cornerstore/api/property.rb', line 19 def initialize(attributes = {}, parent = nil) @key = attributes.delete(:key) @value = attributes.delete(:value) super end |