aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/patch.rb
diff options
context:
space:
mode:
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