Class: Psych::Stream::Emitter

Inherits:
Emitter
  • Object
show all
Defined in:
lib/psych/stream.rb

Overview

:nodoc:

Direct Known Subclasses

JSON::Stream::Emitter

Instance Method Summary collapse

Instance Method Details

#end_document(implicit_end = !streaming?) ⇒ Object



26
27
28
# File 'lib/psych/stream.rb', line 26

def end_document implicit_end = !streaming?
  super
end

#streaming?Boolean

Returns:

  • (Boolean)


30
31
32
# File 'lib/psych/stream.rb', line 30

def streaming?
  true
end