class Object

Add present? Imported from rails/active_support

Public Instance Methods

blank?() click to toggle source
# File lib/hcheck/helper.rb, line 27
def blank?
  respond_to?(:empty?) ? empty? : !self
end
present?() click to toggle source
# File lib/hcheck/helper.rb, line 31
def present?
  !blank?
end