aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/options.rb
diff options
context:
space:
mode:
authorJack Nagel2014-07-01 15:07:06 -0500
committerJack Nagel2014-07-01 18:39:15 -0500
commit6da317b50c57dd4fc615cde75cd4d78aae777d9b (patch)
tree80d544f23d5e3eff5a4ef1e071a052499b370b3d /Library/Homebrew/options.rb
parenta334973de8096a08c5ee9a35ed7ef3b6402b7a78 (diff)
downloadhomebrew-6da317b50c57dd4fc615cde75cd4d78aae777d9b.tar.bz2
Always use class.name to build inspect strings
Diffstat (limited to 'Library/Homebrew/options.rb')
-rw-r--r--Library/Homebrew/options.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Homebrew/options.rb b/Library/Homebrew/options.rb
index b9a5aaef0..23d1d31cb 100644
--- a/Library/Homebrew/options.rb
+++ b/Library/Homebrew/options.rb
@@ -29,7 +29,7 @@ class Option
end
def inspect
- "#<#{self.class}: #{flag.inspect}>"
+ "#<#{self.class.name}: #{flag.inspect}>"
end
private
@@ -115,7 +115,7 @@ class Options
alias_method :to_ary, :to_a
def inspect
- "#<#{self.class}: #{to_a.inspect}>"
+ "#<#{self.class.name}: #{to_a.inspect}>"
end
def self.coerce(arg)