Use to_a definition from Enumerable
This commit is contained in:
parent
804872fc94
commit
3f6827374f
@ -22,9 +22,6 @@ class Dependencies
|
||||
@deps * arg
|
||||
end
|
||||
|
||||
def to_a
|
||||
@deps
|
||||
end
|
||||
alias_method :to_ary, :to_a
|
||||
|
||||
def optional
|
||||
|
@ -109,9 +109,6 @@ class Options
|
||||
self
|
||||
end
|
||||
|
||||
def to_a
|
||||
@options.to_a
|
||||
end
|
||||
alias_method :to_ary, :to_a
|
||||
|
||||
def inspect
|
||||
|
Loading…
x
Reference in New Issue
Block a user