Class: Microclimate::Snapshot
- Extended by:
- Forwardable
- Defined in:
- lib/microclimate/snapshot.rb
Instance Attribute Summary collapse
-
#data ⇒ Object
Returns the value of attribute data.
Instance Method Summary collapse
-
#initialize(data) ⇒ Snapshot
constructor
A new instance of Snapshot.
Methods inherited from Base
Constructor Details
#initialize(data) ⇒ Snapshot
Returns a new instance of Snapshot.
7 8 9 |
# File 'lib/microclimate/snapshot.rb', line 7 def initialize(data) @data = data end |
Instance Attribute Details
#data ⇒ Object
Returns the value of attribute data.
4 5 6 |
# File 'lib/microclimate/snapshot.rb', line 4 def data @data end |