class Object

Public Instance Methods

blank?() click to toggle source
# File lib/object.rb, line 2
def blank?
  respond_to?(:empty?) ? empty? : !self
end
gem_available?(gemname) click to toggle source
# File lib/multi_sms.rb, line 10
def gem_available?(gemname)
  Gem::Specification.find_all_by_name(gemname).size > 0
end
present?() click to toggle source
# File lib/object.rb, line 6
def present?
  !blank?
end