From d596303199a9688b9ef5a21871ded58f77e52feb Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Fri, 7 Jun 2013 20:36:13 -0500 Subject: [PATCH] Simplify Options#inspect --- Library/Homebrew/options.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Homebrew/options.rb b/Library/Homebrew/options.rb index 1545128f51..20c6009f66 100644 --- a/Library/Homebrew/options.rb +++ b/Library/Homebrew/options.rb @@ -106,7 +106,7 @@ class Options alias_method :to_ary, :to_a def inspect - "#<#{self.class}: #{@options.map(&:inspect).join(", ")}>" + "#<#{self.class}: #{to_a.inspect}>" end def self.coerce(arg)