Class: JSONSEQ::Reader::MaybeTruncated
- Inherits:
-
Object
- Object
- JSONSEQ::Reader::MaybeTruncated
- Defined in:
- lib/jsonseq/reader.rb
Instance Attribute Summary collapse
-
#object ⇒ Object
readonly
Returns the value of attribute object.
-
#source ⇒ Object
readonly
Returns the value of attribute source.
Instance Method Summary collapse
-
#initialize(source:, object:) ⇒ MaybeTruncated
constructor
A new instance of MaybeTruncated.
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
#object ⇒ Object (readonly)
Returns the value of attribute object.
28 29 30 |
# File 'lib/jsonseq/reader.rb', line 28 def object @object end |
#source ⇒ Object (readonly)
Returns the value of attribute source.
27 28 29 |
# File 'lib/jsonseq/reader.rb', line 27 def source @source end |