summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Barnette <jbarnette@gmail.com>2009-09-28 10:29:42 -0700
committerJohn Barnette <jbarnette@gmail.com>2009-09-28 10:29:42 -0700
commitccacb1f69c1097d42a4171fc39111b89b65d7d54 (patch)
tree647214470312fcc25d26b940c20b36c9870bb4bb
parent8eed8683e112bff7c343cdc79754b872925b45f8 (diff)
downloadpsych-ccacb1f69c1097d42a4171fc39111b89b65d7d54.zip
Squash warning.
-rw-r--r--lib/psych/tree_builder.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/psych/tree_builder.rb b/lib/psych/tree_builder.rb
index d9c7c5d..c158368 100644
--- a/lib/psych/tree_builder.rb
+++ b/lib/psych/tree_builder.rb
@@ -38,7 +38,7 @@ module Psych
def start_stream encoding
super
- @stack.push Nodes::Stream.new encoding
+ @stack.push Nodes::Stream.new(encoding)
end
def scalar(*args)