Method: Cucumber::FeatureFile#parse
- Defined in:
- lib/cucumber/feature_file.rb
#parse(options = {}) ⇒ Object
Parses a file and returns a Cucumber::Ast If options
contains tags, the result will be filtered.
23 24 25 26 27 |
# File 'lib/cucumber/feature_file.rb', line 23 def parse(={}) filter = Filter.new(@lines, ) language = Parser::I18n::Language[lang || [:lang] || 'en'] language.parse(source, @path, filter) end |