module Shortly::Helper::MonkeyPatches::MonkeyObject

Public Instance Methods

blank?() click to toggle source
# File lib/shortly/helper.rb, line 49
def blank?
  instance_of?(Array) ? empty? : nil?
end
present?() click to toggle source
# File lib/shortly/helper.rb, line 53
def present?
  !blank?
end