Module: Nori::CoreExt::Object

Defined in:
lib/nori/core_ext/object.rb

Instance Method Summary collapse

Instance Method Details

#blank?Boolean

Returns:

  • (Boolean)


5
6
7
# File 'lib/nori/core_ext/object.rb', line 5

def blank?
  respond_to?(:empty?) ? empty? : !self
end