Avoid using to_a so we don't see warnings.

This commit is contained in:
Jim Menard 2009-01-22 13:20:48 -05:00
parent 47f64c9cf4
commit 36d333de35
1 changed files with 1 additions and 1 deletions

View File

@ -86,7 +86,7 @@ module XGen
end
def eql?(other)
@data == other.to_a
@data == other.instance_variable_get("@data")
end
alias_method :==, :eql?