diff options
| author | Jack Nagel | 2014-08-13 23:45:48 -0500 |
|---|---|---|
| committer | Jack Nagel | 2014-08-13 23:45:48 -0500 |
| commit | ae4b9fffd40c30fdf933574c3d046cd8210dc627 (patch) | |
| tree | 7af36e78e2195192b6296af2e9a26ee47c9e6af8 /Library | |
| parent | edbb219bbdcbcab51aa7fce260b4e9afd114739f (diff) | |
| download | brew-ae4b9fffd40c30fdf933574c3d046cd8210dc627.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) |
