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(package, defined_class, method, static) ⇒ ScopedMethod

Returns a new instance of ScopedMethod.



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

def initialize(package, defined_class, method, static)
  @package = package
  @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

#packageObject (readonly)

Returns the value of attribute package.



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

def package
  @package
end

#staticObject (readonly)

Returns the value of attribute static.



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

def static
  @static
end