Class: JSONSEQ::Reader::MaybeTruncated

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(source:, object:) ⇒ MaybeTruncated

Returns a new instance of MaybeTruncated.



30
31
32
33
# File 'lib/jsonseq/reader.rb', line 30

def initialize(source:, object:)
  @source = source
  @object = object
end

Instance Attribute Details

#objectObject (readonly)

Returns the value of attribute object.



28
29
30
# File 'lib/jsonseq/reader.rb', line 28

def object
  @object
end

#sourceObject (readonly)

Returns the value of attribute source.



27
28
29
# File 'lib/jsonseq/reader.rb', line 27

def source
  @source
end