summaryrefslogtreecommitdiff
path: root/sample/div.rb
diff options
context:
space:
mode:
authorKornelius Kalnbach <murphy@rubychan.de>2016-02-13 16:12:48 +0100
committerKornelius Kalnbach <murphy@rubychan.de>2016-02-13 16:12:48 +0100
commit0b8c69cfb7a65bec04c44e58e5776e323d2aa1af (patch)
treefd81bf6229bfc0d173f5b744534a76b5c70eb440 /sample/div.rb
parent916711c9983483c39f9a68c29e21a0ed40004bd2 (diff)
parent0a1f500d524ff0fb5eeafef051ccbb641954a87a (diff)
downloadcoderay-paint-integration.tar.gz
Merge branch 'master' into paint-integrationpaint-integration
Diffstat (limited to 'sample/div.rb')
-rw-r--r--sample/div.rb19
1 files changed, 0 insertions, 19 deletions
diff --git a/sample/div.rb b/sample/div.rb
deleted file mode 100644
index 27b6f32..0000000
--- a/sample/div.rb
+++ /dev/null
@@ -1,19 +0,0 @@
-require 'coderay'
-
-puts CodeRay.scan(DATA.read, :ruby).div
-
-__END__
-for a in 0..255
- a = a.chr
- begin
- x = eval("?\\#{a}")
- if x == a[0]
- next
- else
- print "#{a}: #{x}"
- end
- rescue SyntaxError => boom
- print "#{a}: error"
- end
- puts
-end