Class: TraceTree::Point::CreturnModuleExtendobject

Inherits:
TraceTree::Point show all
Defined in:
lib/trace_tree/point/creturn_module_extendobject.rb

Constant Summary

Constants inherited from TraceTree::Point

Interfaces, NativeThreadCall

Constants included from TreeHtmlable

TreeHtmlable::DEFAULT_JS

Instance Attribute Summary collapse

Attributes inherited from TraceTree::Point

#config, #current, #frame_env, #terminal, #thread

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from TraceTree::Point

#<<, #_class_and_method, #arg, #arguments, #b_call?, bases, #c_call?, cache_event_class_method!, #call_symbol, #callees, #class?, #class_and_method, #class_name, class_of?, #end_of_trace?, hashify, inherited, initialize_clone, #inspect, #method_defined_by_define_method?, #method_missing, #method_name, #return_value, #source_location, #terminate?, #thread?, #thread_relative?, #to_h, #x_return?

Methods included from TreeHtmlable

#body_js_for_tree_html, #children_for_tree_html, #css_for_tree_html, #data_for_tree_html, #label_for_tree_html

Methods included from TreeGraphable

#children_for_tree_graph, #label_for_tree_graph

Constructor Details

#initialize(trace_point) ⇒ CreturnModuleExtendobject

Returns a new instance of CreturnModuleExtendobject.



5
6
7
8
# File 'lib/trace_tree/point/creturn_module_extendobject.rb', line 5

def initialize trace_point
  super
  @mixin = return_value.singleton_class.ancestors[1]
end

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class TraceTree::Point

Instance Attribute Details

#mixinObject (readonly)

Returns the value of attribute mixin.



10
11
12
# File 'lib/trace_tree/point/creturn_module_extendobject.rb', line 10

def mixin
  @mixin
end

Class Method Details

.event_class_methodObject



12
13
14
# File 'lib/trace_tree/point/creturn_module_extendobject.rb', line 12

def self.event_class_method
  [:c_return, Module, :extend_object]
end