Class: AppMap::Trace::ScopedMethod

Inherits:
SimpleDelegator
  • Object
show all
Defined in:
lib/appmap/trace.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(defined_class, method, static) ⇒ ScopedMethod

Returns a new instance of ScopedMethod.



8
9
10
11
12
# File 'lib/appmap/trace.rb', line 8

def initialize(defined_class, method, static)
  @defined_class = defined_class
  @static = static
  super(method)
end

Instance Attribute Details

#defined_classObject (readonly)

Returns the value of attribute defined_class.



6
7
8
# File 'lib/appmap/trace.rb', line 6

def defined_class
  @defined_class
end

#staticObject (readonly)

Returns the value of attribute static.



6
7
8
# File 'lib/appmap/trace.rb', line 6

def static
  @static
end