Class: CucumberFM::FeatureElement::Background

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

Constant Summary collapse

PATTERN =
/((^.*#+.*\n)+\n?)?^[ \t]*Background:.*\n?(^.*\S+.*\n?)*/

Constants included from Component::Comments

Component::Comments::LINE_PATTERN

Instance Attribute Summary collapse

Method Summary

Methods included from Component::Comments

#comments

Methods included from Component::Title

#title

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/background.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/background.rb', line 3

def raw
  @raw
end