Module: StructuredReader
- Defined in:
- lib/structured_reader.rb,
lib/structured_reader/version.rb
Defined Under Namespace
Classes: JSONReader
Constant Summary collapse
- Error =
Class.new(StandardError)
- WrongTypeError =
Class.new(Error)
- DeclarationError =
Class.new(Error)
- VERSION =
"1.1.0"
Class Method Summary collapse
Class Method Details
.json(**kwargs, &blk) ⇒ Object
12 13 14 |
# File 'lib/structured_reader.rb', line 12 def self.json(**kwargs, &blk) JSONReader.new(**kwargs, &blk) end |
.reader_set(&blk) ⇒ Object
16 17 18 |
# File 'lib/structured_reader.rb', line 16 def self.reader_set(&blk) JSONReader::ReaderSet.new.tap(&blk) end |