diff options
Diffstat (limited to 'Library/Homebrew/options.rb')
| -rw-r--r-- | Library/Homebrew/options.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Library/Homebrew/options.rb b/Library/Homebrew/options.rb index b59cd2930..033e5b69e 100644 --- a/Library/Homebrew/options.rb +++ b/Library/Homebrew/options.rb @@ -54,6 +54,11 @@ class Options @options = Set.new(*args) end + def initialize_copy(other) + super + @options = @options.dup + end + def each(*args, &block) @options.each(*args, &block) end |
