Class: NilClass

Inherits:
Object show all
Defined in:
lib/mobility/core_ext/nil.rb

Overview

Add blank? method to NilClass in case activesupport cannot be loaded.

Instance Method Summary collapse

Instance Method Details

#blank?Boolean

Returns:

  • (Boolean)


7
8
9
# File 'lib/mobility/core_ext/nil.rb', line 7

def blank?
  true
end