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
25 26 27 |
# File 'lib/psych/stream.rb', line 25 def end_document implicit_end = !streaming? super end |
#streaming? ⇒ Boolean
29 30 31 |
# File 'lib/psych/stream.rb', line 29 def streaming? true end |