Class: CucumberFM::FeatureElement::Info

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

Constant Summary collapse

PATTERN =
/((^.*#+.*\n)+\n?)?(^.*@+.*\n)?^[ \t]*Feature:.*\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

Method Summary

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

def raw
  @raw
end