Class: JSONSEQ::Reader::JSONObject
- Inherits:
-
Object
- Object
- JSONSEQ::Reader::JSONObject
- Defined in:
- lib/jsonseq/reader.rb
Instance Attribute Summary collapse
-
#object ⇒ Object
readonly
Returns the value of attribute object.
Instance Method Summary collapse
-
#initialize(object:) ⇒ JSONObject
constructor
A new instance of JSONObject.
Constructor Details
#initialize(object:) ⇒ JSONObject
Returns a new instance of JSONObject.
8 9 10 |
# File 'lib/jsonseq/reader.rb', line 8 def initialize(object:) @object = object end |
Instance Attribute Details
#object ⇒ Object (readonly)
Returns the value of attribute object.
6 7 8 |
# File 'lib/jsonseq/reader.rb', line 6 def object @object end |