Class: StructuredReader::JSONReader::CollectionReader
- Inherits:
-
ArrayReader
- Object
- ArrayReader
- StructuredReader::JSONReader::CollectionReader
- Defined in:
- lib/structured_reader.rb
Instance Method Summary collapse
-
#initialize(**args, &blk) ⇒ CollectionReader
constructor
A new instance of CollectionReader.
Methods inherited from ArrayReader
Constructor Details
#initialize(**args, &blk) ⇒ CollectionReader
Returns a new instance of CollectionReader.
148 149 150 151 152 |
# File 'lib/structured_reader.rb', line 148 def initialize(**args, &blk) super do |a| a.object(&blk) end end |