Module: Savon::CoreExt::Object

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

Instance Method Summary collapse

Instance Method Details

#blank?Boolean

Returns true if the Object is nil, false or empty. Implementation from ActiveSupport.

Returns:

  • (Boolean)


6
7
8
# File 'lib/savon/core_ext/object.rb', line 6

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