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/method_source.rb | |
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/method_source.rb')
-rw-r--r-- | lib/method_source.rb | 4 |
1 files changed, 4 insertions, 0 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 |