##// END OF EJS Templates
Fixes a test that was broken by r2294....
Fixes a test that was broken by r2294. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2303 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r638:889d50089d4d
r2301:51b745470c1d
Show More
yaml.rb
22 lines | 264 B | text/x-ruby | RubyLexer
module CodeRay
module Encoders
# = YAML Encoder
#
# Slow.
class YAML < Encoder
register_for :yaml
FILE_EXTENSION = 'yaml'
protected
def compile tokens, options
require 'yaml'
@out = tokens.to_a.to_yaml
end
end
end
end