Class: Psych::Stream::Emitter
- Defined in:
- lib/psych/stream.rb
Overview
:nodoc:
Direct Known Subclasses
Constant Summary
Constants inherited from Handler
Handler::EVENTS, Handler::OPTIONS
Instance Method Summary collapse
Methods inherited from Emitter
#alias, #canonical, #canonical=, #end_mapping, #end_sequence, #end_stream, #indentation, #indentation=, #initialize, #line_width, #line_width=, #scalar, #start_document, #start_mapping, #start_sequence, #start_stream
Methods inherited from Handler
#alias, #empty, #end_mapping, #end_sequence, #end_stream, #scalar, #start_document, #start_mapping, #start_sequence, #start_stream
Constructor Details
This class inherits a constructor from Psych::Emitter
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
30 31 32 |
# File 'lib/psych/stream.rb', line 30 def streaming? true end |