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.
Files changed (3) hide show
  1. data/VERSION +1 -1
  2. data/lib/ri_for/method_ri.rb +1 -2
  3. metadata +1 -1
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.4.0
1
+ 0.4.1
@@ -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 #allows for Class.instance_method_name
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
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ri_for
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Roger Pack