Class: ActiveSupport::SyntaxErrorProxy::BacktraceLocationProxy
- Inherits:
-
Thread::Backtrace::Location
- Object
- Thread::Backtrace::Location
- ActiveSupport::SyntaxErrorProxy::BacktraceLocationProxy
- Defined in:
- activesupport/lib/active_support/syntax_error_proxy.rb
Instance Method Summary collapse
-
#initialize(loc, ex) ⇒ BacktraceLocationProxy
constructor
A new instance of BacktraceLocationProxy.
- #spot(_) ⇒ Object
Constructor Details
#initialize(loc, ex) ⇒ BacktraceLocationProxy
Returns a new instance of BacktraceLocationProxy.
24 25 26 27 |
# File 'activesupport/lib/active_support/syntax_error_proxy.rb', line 24 def initialize(loc, ex) super(loc) @ex = ex end |
Instance Method Details
#spot(_) ⇒ Object
29 30 31 |
# File 'activesupport/lib/active_support/syntax_error_proxy.rb', line 29 def spot(_) super(@ex.__getobj__) end |