Module: CBOR::Streaming

Defined in:
lib/cbor-pure.rb

Instance Method Summary collapse

Instance Method Details

#cbor_stream!(b = true) ⇒ Object



22
23
24
25
# File 'lib/cbor-pure.rb', line 22

def cbor_stream!(b = true)
  @cbor_streaming = b
  self
end

#cbor_stream?Boolean

Returns:

  • (Boolean)


19
20
21
# File 'lib/cbor-pure.rb', line 19

def cbor_stream?
  @cbor_streaming
end