From 87d8aa2774fe6db8033de3cd730f4fbe8b70176f Mon Sep 17 00:00:00 2001 From: Kornelius Kalnbach Date: Sun, 21 Aug 2011 14:44:37 +0200 Subject: fix YAML encoder for Ruby 1.8.7 --- lib/coderay/encoders/yaml.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/coderay/encoders') diff --git a/lib/coderay/encoders/yaml.rb b/lib/coderay/encoders/yaml.rb index 1eb2523..d22cd19 100644 --- a/lib/coderay/encoders/yaml.rb +++ b/lib/coderay/encoders/yaml.rb @@ -20,7 +20,7 @@ module Encoders end def finish options - YAML.dump @data, @out + ::YAML.dump @data, @out super end -- cgit v1.2.1