Class: CukeSlicer::DirectoryExtractor
- Inherits:
-
Object
- Object
- CukeSlicer::DirectoryExtractor
- Defined in:
- lib/cuke_slicer/extractors/directory_extractor.rb
Overview
private
Instance Method Summary collapse
Instance Method Details
#extract(target, filters, format, &block) ⇒ Object
private
8 9 10 11 12 13 14 15 16 17 18 |
# File 'lib/cuke_slicer/extractors/directory_extractor.rb', line 8 def extract(target, filters, format, &block) [].tap do |test_cases| target.feature_files.each do |feature_file| test_cases.concat(FileExtractor.new.extract(feature_file, filters, format, &block)) end target.directories.each do |directory| test_cases.concat(extract(directory, filters, format, &block)) end end end |