Class: StackifyRubyAPM::Spies::Registration Private
- Inherits:
-
Object
- Object
- StackifyRubyAPM::Spies::Registration
- Extended by:
- Forwardable
- Defined in:
- lib/stackify_apm/spies.rb
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Instance Attribute Summary collapse
- #const_name ⇒ Object readonly private
- #require_paths ⇒ Object readonly private
Instance Method Summary collapse
-
#initialize(const_name, require_paths, spy) ⇒ Registration
constructor
private
A new instance of Registration.
Constructor Details
#initialize(const_name, require_paths, spy) ⇒ Registration
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Returns a new instance of Registration.
17 18 19 20 21 |
# File 'lib/stackify_apm/spies.rb', line 17 def initialize(const_name, require_paths, spy) @const_name = const_name @require_paths = Array(require_paths) @spy = spy end |
Instance Attribute Details
#const_name ⇒ Object (readonly)
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
23 24 25 |
# File 'lib/stackify_apm/spies.rb', line 23 def const_name @const_name end |
#require_paths ⇒ Object (readonly)
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
23 24 25 |
# File 'lib/stackify_apm/spies.rb', line 23 def require_paths @require_paths end |