Sha256: f2f762ace0083b7e5f4c4fcf6cf9351bfe8813735a120387406d40486ce12373

Contents?: true

Size: 410 Bytes

Versions: 21

Compression:

Stored size: 410 Bytes

Contents

class TraceTree
  class Point
    class CcallKernelRaise < Point

      def self.event_class_method
        [:c_call, Kernel, :raise]
      end

      def parameters
        if (err_creating = callees[0]) && (e = err_creating.return_value)
          (e.message == e.class.name) ? "#<#{e.class}>" : "#<#{e.class}: #{e.message}>"
        else
          "#<RuntimeError>"
        end
      end

    end
  end
end

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
trace_tree-0.3.6 lib/trace_tree/point/ccall_kernel_raise.rb
trace_tree-0.3.5 lib/trace_tree/point/ccall_kernel_raise.rb
trace_tree-0.3.4 lib/trace_tree/point/ccall_kernel_raise.rb
trace_tree-0.3.3 lib/trace_tree/point/ccall_kernel_raise.rb
trace_tree-0.3.2 lib/trace_tree/point/ccall_kernel_raise.rb
trace_tree-0.3.1 lib/trace_tree/point/ccall_kernel_raise.rb
trace_tree-0.3.0 lib/trace_tree/point/ccall_kernel_raise.rb
trace_tree-0.2.23 lib/trace_tree/point/ccall_kernel_raise.rb
trace_tree-0.2.22 lib/trace_tree/point/ccall_kernel_raise.rb
trace_tree-0.2.21 lib/trace_tree/point/ccall_kernel_raise.rb
trace_tree-0.2.20 lib/trace_tree/point/ccall_kernel_raise.rb
trace_tree-0.2.19 lib/trace_tree/point/ccall_kernel_raise.rb
trace_tree-0.2.18 lib/trace_tree/point/ccall_kernel_raise.rb
trace_tree-0.2.17 lib/trace_tree/point/ccall_kernel_raise.rb
trace_tree-0.2.16 lib/trace_tree/point/ccall_kernel_raise.rb
trace_tree-0.2.15 lib/trace_tree/point/ccall_kernel_raise.rb
trace_tree-0.2.14 lib/trace_tree/point/ccall_kernel_raise.rb
trace_tree-0.2.13 lib/trace_tree/point/ccall_kernel_raise.rb
trace_tree-0.2.12 lib/trace_tree/point/ccall_kernel_raise.rb
trace_tree-0.2.11 lib/trace_tree/point/ccall_kernel_raise.rb