instance method
source_extract
Ruby on Rails 4.1.16
Since v4.0.13 Last seen in v4.1.16Available in: v4.0.13 v4.1.16
Signature
source_extract()
No documentation comment.
Source
# File actionpack/lib/action_dispatch/middleware/exception_wrapper.rb, line 64
def source_extract
if application_trace && trace = application_trace.first
file, line, _ = trace.split(":")
@file = file
@line_number = line.to_i
source_fragment(@file, @line_number)
end
end
Defined in actionpack/lib/action_dispatch/middleware/exception_wrapper.rb line 64
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionDispatch::ExceptionWrapper