Module: Mutx::Support::ProjectType
- Defined in:
- lib/mutx/support/project_type.rb
Class Method Summary collapse
-
.cucumber? ⇒ Boolean
Returns true if there is a folder called /features and there is files .feature extension within.
Class Method Details
.cucumber? ⇒ Boolean
Returns true if there is a folder called /features and there is files .feature extension within
6 7 8 |
# File 'lib/mutx/support/project_type.rb', line 6 def self.cucumber? !Dir["features/**/*.feature"].empty? end |