Avoid using to_a so we don't see warnings.
This commit is contained in:
parent
47f64c9cf4
commit
36d333de35
|
@ -86,7 +86,7 @@ module XGen
|
||||||
end
|
end
|
||||||
|
|
||||||
def eql?(other)
|
def eql?(other)
|
||||||
@data == other.to_a
|
@data == other.instance_variable_get("@data")
|
||||||
end
|
end
|
||||||
alias_method :==, :eql?
|
alias_method :==, :eql?
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue