Sha256: 58d712f2fa81251178332978981ef6ae9c9ebad1c70d4cd31583ac4455d41b7e

Contents?: true

Size: 414 Bytes

Versions: 10

Compression:

Stored size: 414 Bytes

Contents

class TraceTree
  class Point
    class CcallModuleInclude < Point

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

      # first callee should be append_features(), check if it is native or custom
      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_include.rb
trace_tree-0.3.3 lib/trace_tree/point/ccall_module_include.rb
trace_tree-0.3.2 lib/trace_tree/point/ccall_module_include.rb
trace_tree-0.3.1 lib/trace_tree/point/ccall_module_include.rb
trace_tree-0.3.0 lib/trace_tree/point/ccall_module_include.rb
trace_tree-0.2.23 lib/trace_tree/point/ccall_module_include.rb
trace_tree-0.2.22 lib/trace_tree/point/ccall_module_include.rb
trace_tree-0.2.21 lib/trace_tree/point/ccall_module_include.rb
trace_tree-0.2.20 lib/trace_tree/point/ccall_module_include.rb
trace_tree-0.2.19 lib/trace_tree/point/ccall_module_include.rb