Class: CukeProfiles::ScenarioListGenerator
- Inherits:
-
Object
- Object
- CukeProfiles::ScenarioListGenerator
- Defined in:
- lib/cuke_profiles/scenario_list_generator.rb
Class Method Summary collapse
Class Method Details
.for_profile(parsed_features, profile) ⇒ Object
4 5 6 7 8 9 |
# File 'lib/cuke_profiles/scenario_list_generator.rb', line 4 def for_profile(parsed_features, profile) parsed_features.select do |f| next if (f[:tags] & profile[:exclude_tags]).any? (f[:tags] & profile[:include_tags]).any? end end |