instance method
ErrorHighlight::Spotter#prism_spot_def_for_name
prism_spot_def_for_name
lib/error_highlight/base.rb
View on GitHub ↗
# File tmp/rubies/ruby-4.0.0/lib/error_highlight/base.rb, line 914
def prism_spot_def_for_name
location = @node.name_loc
location = @node.operator_loc.join(location) if @node.operator_loc
prism_location(location)
end
Example:
def foo()
^^^