Sha256: b3bc9da3a2ae2672b632f2e19638dd10b1a44cffe8fb140a77321d1871a5f01c

Contents?: true

Size: 332 Bytes

Versions: 10

Compression:

Stored size: 332 Bytes

Contents

class TraceTree
  class Point
    class CcallModulePrepend < Point

      def self.event_class_method
        [:c_call, Module, :prepend]
      end

      def parameters
        first_callee = callees[0]
        Module == first_callee.class_name ? first_callee.return_value : first_callee.current.klass
      end

    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
trace_tree-0.3.4 lib/trace_tree/point/ccall_module_prepend.rb
trace_tree-0.3.3 lib/trace_tree/point/ccall_module_prepend.rb
trace_tree-0.3.2 lib/trace_tree/point/ccall_module_prepend.rb
trace_tree-0.3.1 lib/trace_tree/point/ccall_module_prepend.rb
trace_tree-0.3.0 lib/trace_tree/point/ccall_module_prepend.rb
trace_tree-0.2.23 lib/trace_tree/point/ccall_module_prepend.rb
trace_tree-0.2.22 lib/trace_tree/point/ccall_module_prepend.rb
trace_tree-0.2.21 lib/trace_tree/point/ccall_module_prepend.rb
trace_tree-0.2.20 lib/trace_tree/point/ccall_module_prepend.rb
trace_tree-0.2.19 lib/trace_tree/point/ccall_module_prepend.rb