Class: XCResult::SortedKeyValueArray
- Inherits:
-
AbstractObject
- Object
- AbstractObject
- XCResult::SortedKeyValueArray
- Defined in:
- lib/xcresult/models.rb
Overview
-
SortedKeyValueArray
-
Kind: object
-
Properties: + storage: [SortedKeyValueArrayPair]
-
Instance Attribute Summary collapse
-
#storage ⇒ Object
Returns the value of attribute storage.
Attributes inherited from AbstractObject
Instance Method Summary collapse
-
#initialize(data) ⇒ SortedKeyValueArray
constructor
A new instance of SortedKeyValueArray.
Methods inherited from AbstractObject
Constructor Details
#initialize(data) ⇒ SortedKeyValueArray
Returns a new instance of SortedKeyValueArray.
528 529 530 531 532 533 |
# File 'lib/xcresult/models.rb', line 528 def initialize(data) self.storage = fetch_values(data, 'storage').map do |pair_data| SortedKeyValueArrayPair.new(pair_data) end super(data) end |
Instance Attribute Details
#storage ⇒ Object
Returns the value of attribute storage.
527 528 529 |
# File 'lib/xcresult/models.rb', line 527 def storage @storage end |