module CucumberFM::FeatureElement::Component::Comments
Constants
- LINE_PATTERN
Public Instance Methods
comments()
click to toggle source
# File lib/cucumber_f_m/feature_element/component/comments.rb, line 7 def comments @comments ||= fetch_comments end
Private Instance Methods
fetch_comments()
click to toggle source
# File lib/cucumber_f_m/feature_element/component/comments.rb, line 13 def fetch_comments raw.scan(LINE_PATTERN).collect do |comment_raw| CucumberFM::FeatureElement::Comment.new(self, comment_raw) end end