ri_for 0.4.0 → 0.4.1
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/lib/ri_for/method_ri.rb +1 -2
- metadata +1 -1
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.4.
|
1
|
+
0.4.1
|
data/lib/ri_for/method_ri.rb
CHANGED
@@ -162,8 +162,7 @@ class Object
|
|
162
162
|
# i.e. String.strip
|
163
163
|
begin
|
164
164
|
instance_method(name).ri(options)
|
165
|
-
rescue NameError => e #
|
166
|
-
puts e, e.backtrace
|
165
|
+
rescue NameError => e #allow for Class.instance_method_name, Module.instance_method_name
|
167
166
|
method(name).ri(options)
|
168
167
|
end
|
169
168
|
else
|