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