class CucumberReports::AstParser
Attributes
content[RW]
Public Class Methods
new(file_path)
click to toggle source
# File lib/cucumber-reports/ast_parser.rb, line 7 def initialize(file_path) @content = File.read(file_path) end
Public Instance Methods
parse()
click to toggle source
# File lib/cucumber-reports/ast_parser.rb, line 11 def parse Parser::CurrentRuby.parse(@content) end