Skip to content

Commit

Permalink
JRUBY-3172: Error in YAML.dump
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.codehaus.org/jruby/trunk/jruby@8252 961051c9-f516-0410-bf72-c9f7e237a7b7
  • Loading branch information
enebo committed Dec 3, 2008
1 parent 5bc4c41 commit 32b8367
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/builtin/yaml.rb
Expand Up @@ -97,7 +97,7 @@ def YAML.quick_emit( oid, opts = {}, &e )
else
emitter.reset( opts )
end
out.emit( oid, &e ).to_s
out.emit( oid, &e )
end

module JvYAML
Expand All @@ -111,7 +111,7 @@ def initialize(emitter)
def map(type_id, style = nil)
map = Map.new(type_id, {}, style)
yield map
map
map.to_s
end

def seq(type_id, style = nil)
Expand Down

0 comments on commit 32b8367

Please sign in to comment.