Skip to content

POC: use start/end line/column for ActionView::Template.spot - #1

Draft
eregon wants to merge 1 commit into
mainfrom
use_start_end_line_column
Draft

eregon wants to merge 1 commit into
mainfrom
use_start_end_line_column

Conversation

@eregon

@eregon eregon commented Apr 27, 2026 •

Copy link
Copy Markdown
Owner
  • Simulate getting line & column information by using RubyVM::AST until there is an API for it.
cd actionview
bundle
bundle exec ruby --parser=parse.y -Ilib -Itest test/template/render_test.rb                 
for f in test/template/*_test.rb; do echo $f; bundle exec ruby --parser=parse.y -Ilib -Itest $f; done

passes

* Simulate getting line & column information by using RubyVM::AST until there is an API for it.
@eregon eregon changed the title POC: use start/end line/column for Ac ActionView::Template.spot POC: use start/end line/column for ActionView::Template.spot Apr 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant