Sha256: d71829c73043f2e36ce1c03306edd288fc388c3ea1984306e63de977168dcc67

Contents?: true

Size: 361 Bytes

Versions: 14

Compression:

Stored size: 361 Bytes

Contents

module Kaya
  module Cucumber
    module Features

      # Returns an array of all feature files paths (only feature files)
      # @return [Array]
      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

    end
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
kaya-0.0.14 lib/kaya/cucumber/features.rb
kaya-0.0.13 lib/kaya/cucumber/features.rb
kaya-0.0.12 lib/kaya/cucumber/features.rb
kaya-0.0.11 lib/kaya/cucumber/features.rb
kaya-0.0.10 lib/kaya/cucumber/features.rb
kaya-0.0.9 lib/kaya/cucumber/features.rb
kaya-0.0.8 lib/kaya/cucumber/features.rb
kaya-0.0.7 lib/kaya/cucumber/features.rb
kaya-0.0.6 lib/kaya/cucumber/features.rb
kaya-0.0.5 lib/kaya/cucumber/features.rb
kaya-0.0.4 lib/kaya/cucumber/features.rb
kaya-0.0.3 lib/kaya/cucumber/features.rb
kaya-0.0.2 lib/kaya/cucumber/features.rb
kaya-0.0.1 lib/kaya/cucumber/features.rb