Sha256: 5ad8e82d425f98d859cd550ffb17d008a57efe42144e60b0cf577eb8d818d83a

Contents?: true

Size: 411 Bytes

Versions: 2

Compression:

Stored size: 411 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.class_name
      end

    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
trace_tree-0.3.6 lib/trace_tree/point/ccall_module_include.rb
trace_tree-0.3.5 lib/trace_tree/point/ccall_module_include.rb