method_info 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/lib/method_info/ancestor_method_structure.rb +3 -0
- metadata +1 -1
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
1
|
+
0.1.3
|
@@ -102,6 +102,9 @@ module MethodInfo
|
|
102
102
|
|
103
103
|
# Returns the class or module where method is defined
|
104
104
|
def self.method_owner(object, method)
|
105
|
+
# Printing this warning is not spec'ed: it is only here temporarily until the 1.8.6
|
106
|
+
# workaround is implemented
|
107
|
+
STDERR.puts "Ruby >= 1.8.7 required" unless VERSION >= '1.8.7'
|
105
108
|
object.method(method).owner
|
106
109
|
end
|
107
110
|
|