Class: NilClass

Inherits:
Object
  • Object
show all
Defined in:
lib/core_ext/nil_class.rb

Instance Method Summary collapse

Instance Method Details

#blank_to_nilnil

Always returns nil, companion to String#blank_to_nil.

Returns:

  • (nil)


6
7
8
# File 'lib/core_ext/nil_class.rb', line 6

def blank_to_nil
  nil
end