Class: Object

Inherits:
BasicObject
Defined in:
lib/intacctrb.rb

Instance Method Summary collapse

Instance Method Details

#blank?Boolean

Returns:

  • (Boolean)


23
24
25
# File 'lib/intacctrb.rb', line 23

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

#present?Boolean

Returns:

  • (Boolean)


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

def present?
  !blank?
end