Class: HeyYou::DataSource::Hash
- Defined in:
- lib/hey_you/data_source/hash.rb
Instance Attribute Summary collapse
-
#data ⇒ Object
readonly
Returns the value of attribute data.
Instance Method Summary collapse
-
#initialize(data:) ⇒ Hash
constructor
A new instance of Hash.
- #load_collections ⇒ Object
Methods inherited from Base
Constructor Details
#initialize(data:) ⇒ Hash
Returns a new instance of Hash.
8 9 10 |
# File 'lib/hey_you/data_source/hash.rb', line 8 def initialize(data:) @data = data end |
Instance Attribute Details
#data ⇒ Object (readonly)
Returns the value of attribute data.
6 7 8 |
# File 'lib/hey_you/data_source/hash.rb', line 6 def data @data end |
Instance Method Details
#load_collections ⇒ Object
12 13 14 |
# File 'lib/hey_you/data_source/hash.rb', line 12 def load_collections data end |