Class: BaseChip::SourceLanguage
- Inherits:
-
Object
- Object
- BaseChip::SourceLanguage
- Defined in:
- lib/base_chip/source_language.rb
Instance Attribute Summary
Attributes included from Dsl
Instance Method Summary collapse
Methods included from Base
Methods included from Dsl
#add_child_mode_as_child, included, #inherit, #mode, #mode?, #type_plural
Instance Method Details
#configure ⇒ Object
25 26 27 28 29 30 31 32 33 34 35 36 37 38 |
# File 'lib/base_chip/source_language.rb', line 25 def configure return if @configured super if @globs and @directories and not @files @files = [] @globs.each do |e| @directories.each do |d| d = absolute_path d @files += Dir.glob("#{d}/#{e}") end end # @files.uniq! end end |