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
|
||||
|
||||
def eql?(other)
|
||||
@data == other.to_a
|
||||
@data == other.instance_variable_get("@data")
|
||||
end
|
||||
alias_method :==, :eql?
|
||||
|
||||
|
|
Loading…
Reference in New Issue