diff options
Diffstat (limited to 'Library/Homebrew/options.rb')
| -rw-r--r-- | Library/Homebrew/options.rb | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Library/Homebrew/options.rb b/Library/Homebrew/options.rb index 033e5b69e..337281546 100644 --- a/Library/Homebrew/options.rb +++ b/Library/Homebrew/options.rb @@ -50,13 +50,16 @@ end class Options include Enumerable + attr_reader :options + protected :options + def initialize(*args) @options = Set.new(*args) end def initialize_copy(other) super - @options = @options.dup + @options = other.options.dup end def each(*args, &block) |
