method

safe_to_array

safe_to_array(o)
private

Object#to_a is deprecated, though it does have the desired behavior