Ruby NilClass Functions
EditRocket provides the following information on NilClass functions in the Ruby source code builder.
inspect - Always returns the string "nil".
new -
nil?() - "call_seq:"
to_a - Always returns an empty array.
to_f - Always returns zero.
to_i - Always returns zero.
to_s - Always returns the empty string.
to_yaml( opts = {} ) -