Top Level Namespace

Defined Under Namespace

Modules: MultiSms, Providers Classes: Object

Instance Method Summary collapse

Instance Method Details

#gem_available?(gemname) ⇒ Boolean

Returns:

  • (Boolean)


10
11
12
# File 'lib/multi_sms.rb', line 10

def gem_available?(gemname)
  Gem::Specification.find_all_by_name(gemname).size > 0
end