diff options
Diffstat (limited to 'demo/demo_tokens.rb')
-rw-r--r-- | demo/demo_tokens.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/demo/demo_tokens.rb b/demo/demo_tokens.rb new file mode 100644 index 0000000..eb8d448 --- /dev/null +++ b/demo/demo_tokens.rb @@ -0,0 +1,3 @@ +require 'coderay'
+
+puts CodeRay.scan("puts 3 + 4, '3 + 4'", :ruby).tokens
|