Class: FrameworkIdentificator::TestingFrameworks::Cucumber

Inherits:
Object
  • Object
show all
Defined in:
lib/framework_identificator/testing_frameworks/cucumber.rb

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(*source) ⇒ Cucumber

~~~~ Instance Methods ~~~~



15
16
17
# File 'lib/framework_identificator/testing_frameworks/cucumber.rb', line 15

def initialize(*source)
  # Nothing do initialize for now
end

Instance Attribute Details

#sourceObject

~~~~ Attributes ~~~~



5
6
7
# File 'lib/framework_identificator/testing_frameworks/cucumber.rb', line 5

def source
  @source
end

Class Method Details

.recognized?(source) ⇒ Boolean

~~~~ Class Methods ~~~~

Returns:

  • (Boolean)


8
9
10
11
12
# File 'lib/framework_identificator/testing_frameworks/cucumber.rb', line 8

def self.recognized?(source)
  @source = source

  self.has_features_env_file?
end