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)


908
909
910
# File 'lib/cucumber/parser/feature.rb', line 908

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

#buildObject



912
913
914
# File 'lib/cucumber/parser/feature.rb', line 912

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