Module: BigBananajour

Defined in:
lib/bigbananajour/version.rb,
lib/bigbananajour/gem_dependencies.rb,
lib/bigbananajour/email_mangle_helper.rb

Defined Under Namespace

Modules: EmailMangleHelper, GemDependencies

Constant Summary collapse

VERSION =
'0.6'

Class Method Summary collapse

Class Method Details

.gem(name) ⇒ Object



30
31
32
# File 'lib/bigbananajour/gem_dependencies.rb', line 30

def self.gem(name)
  BigBananajour::GemDependencies.for_name(name).require_gem
end

.require_gem(name, lib = nil) ⇒ Object



33
34
35
36
# File 'lib/bigbananajour/gem_dependencies.rb', line 33

def self.require_gem(name, lib=nil)
  self.gem(name)
  Kernel.require(lib || name)
end