module CircuitApi::Utils::Object
Public Class Methods
blank?(object)
click to toggle source
# File lib/circuit_api/utils/object.rb, line 4 def self.blank?(object) object.respond_to?(:empty?) ? !!object.empty? : !object end
present?(object)
click to toggle source
# File lib/circuit_api/utils/object.rb, line 8 def self.present?(object) !blank?(object) end