Module: Opal::UseGem

Included in:
Opal, Builder
Defined in:
opal/lib/opal/paths.rb

Instance Method Summary collapse

Instance Method Details

#use_gem(gem_name, include_dependencies = true) ⇒ Object



26
27
28
# File 'opal/lib/opal/paths.rb', line 26

def use_gem(gem_name, include_dependencies = true)
  append_paths(*require_paths_for_gem(gem_name, include_dependencies))
end