Module: Kaya::Cucumber::Features
- Defined in:
- lib/kaya/cucumber/features.rb
Class Method Summary collapse
-
.feature_files_names ⇒ Array
Returns an array of all feature files paths (only feature files).
Class Method Details
.feature_files_names ⇒ Array
Returns an array of all feature files paths (only feature files)
7 8 9 10 11 |
# File 'lib/kaya/cucumber/features.rb', line 7 def self.feature_files_names Dir['**/*.*'].select do |file_path_name| file_path_name.start_with? "features/" and file_path_name.end_with? ".feature" end end |