Module: RailsRouteChecker::Parsers::ErbParser
- Defined in:
- lib/rails-route-checker/parsers/erb_parser.rb
Class Method Summary collapse
Class Method Details
.run(filename, **opts) ⇒ Object
7 8 9 10 11 12 13 |
# File 'lib/rails-route-checker/parsers/erb_parser.rb', line 7 def run(filename, **opts) file_source = opts[:source] || File.read(filename) opts.merge!(process_file(file_source)) RailsRouteChecker::Parsers::RubyParser.run(filename, **opts) end |