Class: Object

Inherits:
BasicObject
Defined in:
lib/CoffeeTags.rb

Instance Method Summary collapse

Instance Method Details

#blank?Boolean

Returns:

  • (Boolean)


10
11
12
13
14
15
16
# File 'lib/CoffeeTags.rb', line 10

def blank?
  if self.respond_to? :empty?"
    self.nil? or self.empty?
  else
    self.nil?
  end
end