class Object

Public Instance Methods

blank?() click to toggle source
# File lib/review/extentions/object.rb, line 2
def blank?
  respond_to?(:empty?) ? empty? : !self
end
present?() click to toggle source
# File lib/review/extentions/object.rb, line 6
def present?
  !blank?
end