Module: Indexer::Importer::GemfileImportation
- Included in:
- Indexer::Importer
- Defined in:
- lib/indexer/importer/gemfile.rb
Overview
Build mixin for Bundler’s Gemfile.
Instance Method Summary collapse
-
#import(source) ⇒ Object
If the source file is a Gemfile, import it.
Instance Method Details
#import(source) ⇒ Object
If the source file is a Gemfile, import it.
11 12 13 14 15 16 17 18 19 |
# File 'lib/indexer/importer/gemfile.rb', line 11 def import(source) case source when 'Gemfile' .import_gemfile(source) true else super(source) if defined?(super) end end |