Class: YamlWriteStream::YieldingSequenceWriter

Inherits:
YieldingWriter show all
Defined in:
lib/yaml-write-stream/yielding.rb

Instance Attribute Summary

Attributes inherited from YieldingWriter

#closed, #emitter, #first, #stream

Instance Method Summary collapse

Methods inherited from YieldingWriter

#close, #flush, #initialize, #write_map, #write_sequence

Constructor Details

This class inherits a constructor from YamlWriteStream::YieldingWriter

Instance Method Details

#write_element(element) ⇒ Object



113
114
115
# File 'lib/yaml-write-stream/yielding.rb', line 113

def write_element(element)
  write_scalar(element)
end