diff options
| author | Jack Nagel | 2013-08-22 17:45:08 -0500 | 
|---|---|---|
| committer | Jack Nagel | 2013-08-22 17:45:08 -0500 | 
| commit | 95af184a0c678d075841b956f776f6bc7c648ee7 (patch) | |
| tree | 459532e907b491338dbb2b3b05269ef615a1c8b4 /Library/Homebrew/options.rb | |
| parent | 9b2e04593fae9d864795b8b6f0a14f91f2741bad (diff) | |
| download | brew-95af184a0c678d075841b956f776f6bc7c648ee7.tar.bz2 | |
Add an accessor to make the intent more clear here
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) | 
