Add an accessor to make the intent more clear here

This commit is contained in:
Jack Nagel 2013-08-22 17:45:08 -05:00
parent 9b2e04593f
commit 95af184a0c

View File

@ -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)