Class: Moxie::Store
- Inherits:
-
Object
- Object
- Moxie::Store
- Defined in:
- lib/moxie/store.rb
Defined Under Namespace
Instance Attribute Summary collapse
-
#key ⇒ Object
readonly
Returns the value of attribute key.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(key) ⇒ Store
constructor
A new instance of Store.
Constructor Details
#initialize(key) ⇒ Store
Returns a new instance of Store.
13 14 15 |
# File 'lib/moxie/store.rb', line 13 def initialize(key) @key = key end |
Instance Attribute Details
#key ⇒ Object (readonly)
Returns the value of attribute key.
11 12 13 |
# File 'lib/moxie/store.rb', line 11 def key @key end |