method

to_a

ruby latest stable - Class: NilClass
to_a()
public

Always returns an empty array.

nil.to_a   #=> []