Class: JSONSEQ::Reader::JSONObject

Inherits:
Object
  • Object
show all
Defined in:
lib/jsonseq/reader.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#objectObject (readonly)

Returns the value of attribute object.



6
7
8
# File 'lib/jsonseq/reader.rb', line 6

def object
  @object
end