currently only Java arrays provide to_ary ... it maybe makes sense for java.util.List
... but not for generic collection instances such as sets (even Ruby's Set doesn't provide to_ary)
proposing only having to_a in Collection and providing to_ary on List (at least for some compatibility)
The text was updated successfully, but these errors were encountered:
currently only Java arrays provide
to_ary
... it maybe makes sense forjava.util.List
... but not for generic collection instances such as sets (even Ruby's Set doesn't provide
to_ary
)proposing only having
to_a
in Collection and providingto_ary
on List (at least for some compatibility)The text was updated successfully, but these errors were encountered: