diff options
| author | Jack Nagel | 2014-07-01 15:07:06 -0500 | 
|---|---|---|
| committer | Jack Nagel | 2014-07-01 18:39:15 -0500 | 
| commit | 6da317b50c57dd4fc615cde75cd4d78aae777d9b (patch) | |
| tree | 80d544f23d5e3eff5a4ef1e071a052499b370b3d /Library/Homebrew/options.rb | |
| parent | a334973de8096a08c5ee9a35ed7ef3b6402b7a78 (diff) | |
| download | homebrew-6da317b50c57dd4fc615cde75cd4d78aae777d9b.tar.bz2 | |
Always use class.name to build inspect strings
Diffstat (limited to 'Library/Homebrew/options.rb')
| -rw-r--r-- | Library/Homebrew/options.rb | 4 | 
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) | 
