aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/patch.rb
diff options
context:
space:
mode:
authorJack Nagel2014-07-01 15:07:06 -0500
committerJack Nagel2014-07-01 18:39:15 -0500
commitfbefa76ce216a4e6023134e754aa83472604e0f3 (patch)
tree1d53211f0e2d15fe17c4dd4da4ebed435f981f6a /Library/Homebrew/patch.rb
parent6a1ad36fbd99b75f67cbc234cb887218b2d9d8cc (diff)
downloadbrew-fbefa76ce216a4e6023134e754aa83472604e0f3.tar.bz2
Always use class.name to build inspect strings
Diffstat (limited to 'Library/Homebrew/patch.rb')
-rw-r--r--Library/Homebrew/patch.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Homebrew/patch.rb b/Library/Homebrew/patch.rb
index ff7c6b33a..0f0677dec 100644
--- a/Library/Homebrew/patch.rb
+++ b/Library/Homebrew/patch.rb
@@ -79,7 +79,7 @@ class IOPatch < Patch
end
def inspect
- "#<#{self.class}: #{strip.inspect}>"
+ "#<#{self.class.name}: #{strip.inspect}>"
end
end
@@ -127,7 +127,7 @@ class ExternalPatch < Patch
end
def inspect
- "#<#{self.class}: #{strip.inspect} #{url.inspect}>"
+ "#<#{self.class.name}: #{strip.inspect} #{url.inspect}>"
end
end