Class: Object

Inherits:
BasicObject
Defined in:
lib/intacctrb.rb

Instance Method Summary collapse

Instance Method Details

#blank?Boolean

Returns:

  • (Boolean)


26
27
28
# File 'lib/intacctrb.rb', line 26

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

#present?Boolean

Returns:

  • (Boolean)


30
31
32
# File 'lib/intacctrb.rb', line 30

def present?
  !blank?
end