Updated lib/psych.rb #54

Closed
wants to merge 1 commit into
from
Jump to file
+1 −1
Split
View
@@ -200,7 +200,7 @@ def self.parser
def self.parse_stream yaml, filename = nil, &block
if block_given?
parser = Psych::Parser.new(Handlers::DocumentStream.new(&block))
- parser.parse yaml, filename
+ parser.parse yaml
else
parser = self.parser
parser.parse yaml, filename