##// END OF EJS Templates
Replaced french word "anonyme" at app/views/wiki/diff.rhtml with label_user_anonymous (#8994)....
Replaced french word "anonyme" at app/views/wiki/diff.rhtml with label_user_anonymous (#8994). Contributed by Tom Rochette. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6410 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r4619:144ca23442a5
r6290:77f0756bc046
Show More
text.rb
32 lines | 400 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
super
@sep = options[:separator]
end
def text_token text, kind
text + @sep
end
def finish options
super.chomp @sep
end
end
end
end