Class: Me::Store::Environment
- Inherits:
-
Struct
- Object
- Struct
- Me::Store::Environment
- Defined in:
- lib/me/store.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#value ⇒ Object
Returns the value of attribute value.
Class Method Summary collapse
Instance Method Summary collapse
Instance Attribute Details
#value ⇒ Object
Returns the value of attribute value
5 6 7 |
# File 'lib/me/store.rb', line 5 def value @value end |
Class Method Details
.wrap(env) ⇒ Object
6 7 8 9 |
# File 'lib/me/store.rb', line 6 def self.wrap(env) return env if env.is_a?(self) new(env) end |
Instance Method Details
#to_s ⇒ Object
11 12 13 |
# File 'lib/me/store.rb', line 11 def to_s "_#{value}" end |