Class: Psych::JSON::Stream::Emitter
Relationships & Source Files | |
Super Chains via Extension / Inclusion / Inheritance | |
Class Chain:
|
|
Instance Chain:
|
|
Inherits: |
Psych::Stream::Emitter
|
Defined in: | ext/psych/lib/psych/json/stream.rb |
Constant Summary
::Psych::Handler
- Inherited
Class Method Summary
::Psych::Emitter
- Inherited
.new | Create a new |
Instance Attribute Summary
::Psych::Stream::Emitter
- Inherited
::Psych::Emitter
- Inherited
#canonical | Get the output style, canonical or not. |
#canonical= |
|
#indentation | Get the indentation level. |
#indentation= |
|
#line_width | Get the preferred line width. |
#line_width= |
|
::Psych::Handler
- Inherited
#streaming? | Is this handler a streaming handler? |
Instance Method Summary
::Psych::JSON::YAMLEvents
- Included
::Psych::Stream::Emitter
- Inherited
::Psych::Emitter
- Inherited
#alias | Emit an alias with |
#end_document | End a document emission with an |
#end_mapping | Emit the end of a mapping. |
#end_sequence | End sequence emission. |
#end_stream | End a stream emission. |
#scalar | Emit a scalar with |
#start_document | Start a document emission with YAML |
#start_mapping | Start emitting a YAML map with |
#start_sequence | Start emitting a sequence with |
#start_stream | Start a stream emission with |
::Psych::Handler
- Inherited
#alias | Called when an alias is found to |
#empty | Called when an empty event happens. |
#end_document | Called with the document ends. |
#end_mapping | Called when a map ends. |
#end_sequence | Called when a sequence ends. |
#end_stream | Called when the YAML stream ends. |
#event_location | Called before each event with line/column information. |
#scalar | Called when a scalar |
#start_document | Called when the document starts with the declared |
#start_mapping | Called when a map starts. |
#start_sequence | Called when a sequence is started. |
#start_stream | Called with |
Constructor Details
This class inherits a constructor from Psych::Emitter