Module: Cucumber::Parser::Feature::Steps0

Defined in:
lib/cucumber/parser/feature.rb

Instance Method Summary collapse

Instance Method Details

#at_line?(line) ⇒ Boolean

Returns:

  • (Boolean)


961
962
963
# File 'lib/cucumber/parser/feature.rb', line 961

def at_line?(line)
  elements.detect{|e| e.at_line?(line)}
end

#buildObject



965
966
967
# File 'lib/cucumber/parser/feature.rb', line 965

def build
  elements.map{|e| e.build}
end