79356605

Date: 2025-01-14 22:58:10
Score: 0.5
Natty:
Report link

One way to do this natively in Ruby is to use Method#source_location.

> helper.method(:label).source_location
=> ["/Users/myuser/.rbenv/versions/3.3.0/lib/ruby/gems/3.3.0/gems/actionview-7.0.8.5/lib/action_view/helpers/form_helper.rb", 1143]
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Lidiane T.