diff options
| author | Jack Nagel | 2014-08-13 23:45:48 -0500 |
|---|---|---|
| committer | Jack Nagel | 2014-08-13 23:45:48 -0500 |
| commit | 1d12a2eba672c14675f54de61a31ddbcc6d87cbd (patch) | |
| tree | 5f59c02407bdf644b23468038d91b91468f59fd0 /Library | |
| parent | 453ceed27d09608daec8f2f86fab6776004a07e0 (diff) | |
| download | homebrew-1d12a2eba672c14675f54de61a31ddbcc6d87cbd.tar.bz2 | |
Avoid hardcoding the class name
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/options.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Library/Homebrew/options.rb b/Library/Homebrew/options.rb index 871d483e1..8c250e2b3 100644 --- a/Library/Homebrew/options.rb +++ b/Library/Homebrew/options.rb @@ -85,19 +85,19 @@ class Options end def +(o) - Options.new(@options + o) + self.class.new(@options + o) end def -(o) - Options.new(@options - o) + self.class.new(@options - o) end def &(o) - Options.new(@options & o) + self.class.new(@options & o) end def |(o) - Options.new(@options | o) + self.class.new(@options | o) end def *(arg) |
