Class: Object
- Inherits:
- BasicObject
- Defined in:
- lib/crackoid/core_extensions.rb
Overview
:nodoc:
Instance Method Summary collapse
-
#blank? ⇒ TrueClass, FalseClass
Returns true if the object is nil or empty (if applicable).
Instance Method Details
#blank? ⇒ TrueClass, FalseClass
Returns true if the object is nil or empty (if applicable)
11 12 13 |
# File 'lib/crackoid/core_extensions.rb', line 11 def blank? nil? || (respond_to?(:empty?) && empty?) end |