Module: Mutx::Support::ProjectType

Defined in:
lib/mutx/support/project_type.rb

Class Method Summary collapse

Class Method Details

.cucumber?Boolean

Returns true if there is a folder called /features and there is files .feature extension within

Returns:

  • (Boolean)


6
7
8
# File 'lib/mutx/support/project_type.rb', line 6

def self.cucumber?
	!Dir["features/**/*.feature"].empty?
end