##// END OF EJS Templates
Fixed: GitAdapter#get_rev should use current branch instead of hardwiring @master@ (#1319)....
Fixed: GitAdapter#get_rev should use current branch instead of hardwiring @master@ (#1319). git-svn-id: http://redmine.rubyforge.org/svn/trunk@1475 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r638:889d50089d4d
r1461:e1a86106d0c5
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