Module: Ripple::Document::Key::InstanceMethods
- Defined in:
- ripple/lib/ripple/document/key.rb
Instance Method Summary (collapse)
-
- (Object) key
Reads the key for this Document.
-
- (Object) key=(value)
Sets the key for this Document.
- - (Object) key_attr
Instance Method Details
- (Object) key
Reads the key for this Document.
42 43 44 |
# File 'ripple/lib/ripple/document/key.rb', line 42 def key @key end |
- (Object) key=(value)
Sets the key for this Document.
47 48 49 |
# File 'ripple/lib/ripple/document/key.rb', line 47 def key=(value) @key = value.to_s end |
- (Object) key_attr
51 52 53 |
# File 'ripple/lib/ripple/document/key.rb', line 51 def key_attr :key end |