##// END OF EJS Templates
Fixed: calendar and gantt broken with Rails 2.0...
Fixed: calendar and gantt broken with Rails 2.0 git-svn-id: http://redmine.rubyforge.org/svn/trunk@982 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r638:889d50089d4d
r969:d5cc40c9b6b7
Show More
count.rb
21 lines | 230 B | text/x-ruby | RubyLexer
module CodeRay
module Encoders
class Count < Encoder
include Streamable
register_for :count
protected
def setup options
@out = 0
end
def token text, kind
@out += 1
end
end
end
end