Class: ActiveSupport::SyntaxErrorProxy::BacktraceLocationProxy

Inherits:
Thread::Backtrace::Location
  • Object
show all
Defined in:
activesupport/lib/active_support/syntax_error_proxy.rb

Overview

:nodoc:

Instance Method Summary collapse

Constructor Details

#initialize(loc, ex) ⇒ BacktraceLocationProxy

Returns a new instance of BacktraceLocationProxy.



27
28
29
30
# File 'activesupport/lib/active_support/syntax_error_proxy.rb', line 27

def initialize(loc, ex)
  super(loc)
  @ex = ex
end

Instance Method Details

#spot(_) ⇒ Object



32
33
34
# File 'activesupport/lib/active_support/syntax_error_proxy.rb', line 32

def spot(_)
  super(@ex.__getobj__)
end