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)


945
946
947
# File 'lib/cucumber/parser/feature.rb', line 945

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

#buildObject



949
950
951
# File 'lib/cucumber/parser/feature.rb', line 949

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