module Backtracie
backtracie: Ruby gem for beautiful backtraces Copyright (C) 2021 Ivo Anjo <ivo@ivoanjo.me>
This file is part of backtracie.
backtracie is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
backtracie is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License along with backtracie. If not, see <www.gnu.org/licenses/>.
backtracie: Ruby gem for beautiful backtraces Copyright (C) 2021 Ivo Anjo <ivo@ivoanjo.me>
This file is part of backtracie.
backtracie is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
backtracie is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License along with backtracie. If not, see <www.gnu.org/licenses/>.
Constants
- VERSION
Public Instance Methods
# File lib/backtracie.rb, line 31 def caller_locations Primitive.caller_locations end
Private Instance Methods
Defined via native code only; not redirecting via Primitive to avoid an extra stack frame on the stack def backtrace_locations(thread); end
# File lib/backtracie.rb, line 38 def ensure_object_is_thread(object) unless object.is_a?(Thread) raise ArgumentError, "Expected to receive instance of Thread or its subclass, got '#{object.inspect}'" end end