method_extensions 0.0.6 → 0.0.7
Sign up to get free protection for your applications and to get access to all the features.
@@ -119,7 +119,7 @@ module MethodExtensions
|
|
119
119
|
# alias_method :inspect, :irb_inspect if method_defined?(:irb_inspect)
|
120
120
|
# end
|
121
121
|
def irb_inspect
|
122
|
-
return to_s
|
122
|
+
return to_s unless caller.grep(/pp\.rb/).empty? # pretty_print has some logic
|
123
123
|
# based on output of Method#inspect, nasty, huh?
|
124
124
|
|
125
125
|
require "coderay"
|
data/method_extensions.gemspec
CHANGED
@@ -3,7 +3,7 @@ $:.unshift lib unless $:.include?(lib)
|
|
3
3
|
|
4
4
|
Gem::Specification.new do |s|
|
5
5
|
s.name = "method_extensions"
|
6
|
-
s.version = "0.0.
|
6
|
+
s.version = "0.0.7"
|
7
7
|
s.authors = ["Evgeniy Dolzhenko"]
|
8
8
|
s.email = ["dolzenko@gmail.com"]
|
9
9
|
s.homepage = "http://github.com/dolzenko/method_extensions"
|