Set methods on Options already return Options instances
This commit is contained in:
parent
ecaf1592a0
commit
1c49729222
@ -66,11 +66,11 @@ class BuildOptions
|
||||
end
|
||||
|
||||
def used_options
|
||||
Options.new(@options & @args)
|
||||
@options & @args
|
||||
end
|
||||
|
||||
def unused_options
|
||||
Options.new(@options - @args)
|
||||
@options - @args
|
||||
end
|
||||
|
||||
private
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user