Class: CucumberFM::FeatureElement::ScenarioOutline

Inherits:
Struct
  • Object
show all
Includes:
Component::Comments, Component::Tags, Component::Title
Defined in:
lib/cucumber_f_m/feature_element/scenario_outline.rb

Constant Summary collapse

PATTERN =

TODO requires more specs and some improvements

/((^.*#+.*\n)+\n?)?(^.*@+.*\n)?^[ \t]*Scenario Outline:.*\n?((^.*\S+.*\n?)*\n?)?(^[ \t]*Examples:.*\n(^.*\S+.*\n?)*)?/

Constants included from Component::Comments

Component::Comments::LINE_PATTERN

Constants included from Component::Tags

Component::Tags::LINE_PATTERN, Component::Tags::STATUS_COMPLETE, Component::Tags::TAG_PATTERN, Component::Tags::TECHNICAL

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Component::Comments

#comments

Methods included from Component::Title

#title

Methods included from Component::Tags

#done?, #estimation, #tags, #tags=, #tags_without_technical, #value

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class CucumberFM::FeatureElement::Component::Tags

Instance Attribute Details

#featureObject

Returns the value of attribute feature

Returns:

  • (Object)

    the current value of feature



3
4
5
# File 'lib/cucumber_f_m/feature_element/scenario_outline.rb', line 3

def feature
  @feature
end

#rawObject

Returns the value of attribute raw

Returns:

  • (Object)

    the current value of raw



3
4
5
# File 'lib/cucumber_f_m/feature_element/scenario_outline.rb', line 3

def raw
  @raw
end

Instance Method Details

#second_tags_sourceObject



12
13
14
# File 'lib/cucumber_f_m/feature_element/scenario_outline.rb', line 12

def second_tags_source
  feature.info
end