Class: ActiveSupport::SyntaxErrorProxy::BacktraceLocationProxy
- Defined in:
- activesupport/lib/active_support/syntax_error_proxy.rb
Overview
:nodoc:
Instance Method Summary collapse
-
#initialize(loc, ex) ⇒ BacktraceLocationProxy
constructor
A new instance of BacktraceLocationProxy.
- #spot(_) ⇒ Object
Constructor Details
#initialize(loc, ex) ⇒ BacktraceLocationProxy
31 32 33 34 |
# File 'activesupport/lib/active_support/syntax_error_proxy.rb', line 31 def initialize(loc, ex) super(loc) @ex = ex end |
Instance Method Details
#spot(_) ⇒ Object
36 37 38 |
# File 'activesupport/lib/active_support/syntax_error_proxy.rb', line 36 def spot(_) super(@ex.__getobj__) end |