Class: Riak::Crdt::InnerRegister
- Defined in:
- lib/riak/crdt/inner_register.rb
Instance Attribute Summary collapse
-
#parent ⇒ Object
readonly
Returns the value of attribute parent.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(parent, *args, &block) ⇒ InnerRegister
constructor
A new instance of InnerRegister.
Methods inherited from String
Constructor Details
#initialize(parent, *args, &block) ⇒ InnerRegister
Returns a new instance of InnerRegister.
6 7 8 9 10 |
# File 'lib/riak/crdt/inner_register.rb', line 6 def initialize(parent, *args, &block) @parent = parent super(*args, &block) freeze end |
Instance Attribute Details
#parent ⇒ Object (readonly)
Returns the value of attribute parent.
4 5 6 |
# File 'lib/riak/crdt/inner_register.rb', line 4 def parent @parent end |