method

new

Importance_0
v1_9_3_125 - Show latest stable - 0 notes - Class: Emitter
new(io, options = {}) public

No documentation

This method has no description. You can help the Ruby community by adding new notes.

Hide source
# File ext/psych/lib/psych/visitors/emitter.rb, line 4
      def initialize io, options = {}
        @handler = Psych::Emitter.new io
        @handler.indentation = options[:indentation] if options[:indentation]
        @handler.canonical = options[:canonical] if options[:canonical]
        @handler.line_width = options[:line_width] if options[:line_width]
      end
Register or log in to add new notes.