summaryrefslogtreecommitdiff
path: root/test/scanners/ruby/def.in.rb
diff options
context:
space:
mode:
authormurphy <murphy@rubychan.de>2010-03-31 21:10:28 +0000
committermurphy <murphy@rubychan.de>2010-03-31 21:10:28 +0000
commit2b9c0a24b9935d372b9cc478349135e16ea5ad42 (patch)
treebfda721209a9ec6481c55f985100ceceae6219fd /test/scanners/ruby/def.in.rb
parent7b8202cab68ab4cff7e6560295faf2a6d522f62e (diff)
downloadcoderay-2b9c0a24b9935d372b9cc478349135e16ea5ad42.tar.gz
Improved Ruby scanner (see #147 and Changes.textile.)
Diffstat (limited to 'test/scanners/ruby/def.in.rb')
-rw-r--r--test/scanners/ruby/def.in.rb5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/scanners/ruby/def.in.rb b/test/scanners/ruby/def.in.rb
index 934dba1..b2cd085 100644
--- a/test/scanners/ruby/def.in.rb
+++ b/test/scanners/ruby/def.in.rb
@@ -27,7 +27,7 @@ def [];end
def def;end
def end?;end
def a(*) end
-def !; end # Ruby 1.9
+def !; end # Ruby 1.9.1
# singleton methods
@@ -41,6 +41,9 @@ end
def object.method
end
+def object.Method
+end
+
def $~.method
end