Sha256: 60c7e16d146d15e0f51aae4081c06a089bc1aaa3f4308c94064611fa6f7f34ba

Contents?: true

Size: 302 Bytes

Versions: 38

Compression:

Stored size: 302 Bytes

Contents

# frozen_string_literal: true

class Thread::Backtrace::Location # :nodoc:
  if defined?(ErrorHighlight) && Gem::Version.new(ErrorHighlight::VERSION) >= Gem::Version.new("0.4.0")
    def spot(ex)
      ErrorHighlight.spot(ex, backtrace_location: self)
    end
  else
    def spot(ex)
    end
  end
end

Version data entries

38 entries across 38 versions & 7 rubygems

Version Path
minato_ruby_api_client-0.2.2 vendor/bundle/ruby/3.2.0/gems/activesupport-7.1.3.4/lib/active_support/core_ext/thread/backtrace/location.rb
activesupport-7.2.2.1 lib/active_support/core_ext/thread/backtrace/location.rb
activesupport-7.1.5.1 lib/active_support/core_ext/thread/backtrace/location.rb
activesupport-7.2.2 lib/active_support/core_ext/thread/backtrace/location.rb
activesupport-7.1.5 lib/active_support/core_ext/thread/backtrace/location.rb
activesupport-7.2.1.2 lib/active_support/core_ext/thread/backtrace/location.rb
activesupport-7.1.4.2 lib/active_support/core_ext/thread/backtrace/location.rb
activesupport-7.2.1.1 lib/active_support/core_ext/thread/backtrace/location.rb
activesupport-7.1.4.1 lib/active_support/core_ext/thread/backtrace/location.rb
activesupport-8.0.0.beta1 lib/active_support/core_ext/thread/backtrace/location.rb
omg-activesupport-8.0.0.alpha9 lib/active_support/core_ext/thread/backtrace/location.rb
omg-activesupport-8.0.0.alpha8 lib/active_support/core_ext/thread/backtrace/location.rb
omg-activesupport-8.0.0.alpha7 lib/active_support/core_ext/thread/backtrace/location.rb
omg-activesupport-8.0.0.alpha4 lib/active_support/core_ext/thread/backtrace/location.rb
omg-activesupport-8.0.0.alpha3 lib/active_support/core_ext/thread/backtrace/location.rb
omg-activesupport-8.0.0.alpha2 lib/active_support/core_ext/thread/backtrace/location.rb
omg-activesupport-8.0.0.alpha1 lib/active_support/core_ext/thread/backtrace/location.rb
activesupport-7.1.4 lib/active_support/core_ext/thread/backtrace/location.rb
activesupport-7.2.1 lib/active_support/core_ext/thread/backtrace/location.rb
activesupport-7.2.0 lib/active_support/core_ext/thread/backtrace/location.rb