summaryrefslogtreecommitdiff
path: root/lib/coderay/scanners/ruby.rb
diff options
context:
space:
mode:
authorKornelius Kalnbach <murphy@rubychan.de>2011-08-19 05:39:45 +0200
committerKornelius Kalnbach <murphy@rubychan.de>2011-08-19 05:39:45 +0200
commit36531238fa4ef33f1792c6ea6de5e00dcadf018a (patch)
treecca387c2b27dc23d71dab6bd928e10fcdc6cd46b /lib/coderay/scanners/ruby.rb
parent5dd7ca65fdb90d6ffe53790abf1fe5a29a66675e (diff)
downloadcoderay-36531238fa4ef33f1792c6ea6de5e00dcadf018a.tar.gz
pretty (longer) token class names; closes #347
Diffstat (limited to 'lib/coderay/scanners/ruby.rb')
-rw-r--r--lib/coderay/scanners/ruby.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/coderay/scanners/ruby.rb b/lib/coderay/scanners/ruby.rb
index 25da208..9515bdc 100644
--- a/lib/coderay/scanners/ruby.rb
+++ b/lib/coderay/scanners/ruby.rb
@@ -178,7 +178,7 @@ module Scanners
encoder.text_token match, :error
method_call_expected = false
else
- encoder.text_token match, self[1] ? :float : :integer
+ encoder.text_token match, self[1] ? :float : :integer # TODO: send :hex/:octal/:binary
end
value_expected = false