##// END OF EJS Templates
Fixed: Details time log report CSV export doesn't honour date format from settings (patch #2466 by Russell Hind)....
Fixed: Details time log report CSV export doesn't honour date format from settings (patch #2466 by Russell Hind). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2302 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r638:889d50089d4d
r2300:11346455a120
Show More
text.rb
32 lines | 429 B | text/x-ruby | RubyLexer
module CodeRay
module Encoders
class Text < Encoder
include Streamable
register_for :text
FILE_EXTENSION = 'txt'
DEFAULT_OPTIONS = {
:separator => ''
}
protected
def setup options
@out = ''
@sep = options[:separator]
end
def token text, kind
@out << text + @sep if text.is_a? ::String
end
def finish options
@out.chomp @sep
end
end
end
end