ri_for 0.4.0 → 0.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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
|