Module: Savon::CoreExt::Object
- Defined in:
- lib/savon/core_ext/object.rb
Instance Method Summary collapse
-
#blank? ⇒ Boolean
Returns
true
if the Object is nil, false or empty.
Instance Method Details
#blank? ⇒ Boolean
Returns true
if the Object is nil, false or empty. Implementation from ActiveSupport.
6 7 8 |
# File 'lib/savon/core_ext/object.rb', line 6 def blank? respond_to?(:empty?) ? empty? : !self end |