diff options
author | John Mair <jrmair@gmail.com> | 2010-12-17 04:34:57 +1300 |
---|---|---|
committer | John Mair <jrmair@gmail.com> | 2010-12-17 04:34:57 +1300 |
commit | 9c0afdcf3f57e224b33f587804c307aa891a0d7f (patch) | |
tree | baa61f8ea92427d9546f0f91594ac2c08fa4fba9 /lib | |
parent | 2895bb245fd216be96da6e4d6b9e361248934450 (diff) | |
download | method_source-9c0afdcf3f57e224b33f587804c307aa891a0d7f.tar.gz |
added warning about YARV only (due to RubyVM, so not JRuby compatible). Also added support and tests for Proc#source
Diffstat (limited to 'lib')
-rw-r--r-- | lib/method_source.rb | 4 | ||||
-rw-r--r-- | lib/method_source/version.rb | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/lib/method_source.rb b/lib/method_source.rb index bdb00ed..59c98f3 100644 --- a/lib/method_source.rb +++ b/lib/method_source.rb @@ -92,3 +92,7 @@ end class UnboundMethod include MethodSource::MethodExtensions end + +class Proc + include MethodSource::MethodExtensions +end diff --git a/lib/method_source/version.rb b/lib/method_source/version.rb index 30c0683..1f52d87 100644 --- a/lib/method_source/version.rb +++ b/lib/method_source/version.rb @@ -1,3 +1,3 @@ module MethodSource - VERSION = "0.1.0" + VERSION = "0.1.1" end |