Skip to content

Commit

Permalink
changing way ri call is done in irbrc, thanks sunaku
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanb committed Aug 13, 2010
1 parent 99d76f5 commit d23a62e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion irbrc
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ class Object
klass = self.kind_of?(Class) ? name : self.class.name
method = [klass, method].compact.join('#')
end
puts `ri '#{method}'`
system 'ri', method.to_s
end
end

Expand Down

0 comments on commit d23a62e

Please sign in to comment.