Class: Ez::Registry::Store
- Inherits:
-
Array
- Object
- Array
- Ez::Registry::Store
- Defined in:
- lib/ez/registry/store.rb
Instance Attribute Summary collapse
-
#records ⇒ Object
readonly
Returns the value of attribute records.
Instance Method Summary collapse
- #add(data) ⇒ Object
- #data ⇒ Object
-
#initialize(*records) ⇒ Store
constructor
A new instance of Store.
Constructor Details
#initialize(*records) ⇒ Store
Returns a new instance of Store.
10 11 12 |
# File 'lib/ez/registry/store.rb', line 10 def initialize(*records) @records = *records end |
Instance Attribute Details
#records ⇒ Object (readonly)
Returns the value of attribute records.
8 9 10 |
# File 'lib/ez/registry/store.rb', line 8 def records @records end |