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