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
rubocop:enable Metrics/ParameterLists.
-
#custom_instrumented ⇒ Object
readonly
private
rubocop:enable Metrics/ParameterLists.
-
#custom_method ⇒ Object
readonly
private
rubocop:enable Metrics/ParameterLists.
-
#require_paths ⇒ Object
readonly
private
rubocop:enable Metrics/ParameterLists.
-
#tracked_func ⇒ Object
readonly
private
rubocop:enable Metrics/ParameterLists.
-
#tracked_function_name ⇒ Object
readonly
private
rubocop:enable Metrics/ParameterLists.
Instance Method Summary collapse
-
#initialize(const_name, require_paths, spy, custom_instrumented = false, custom_method = '', tracked_func = false, tracked_function_name = '') ⇒ Registration
constructor
private
rubocop:disable Metrics/ParameterLists.
Constructor Details
#initialize(const_name, require_paths, spy, custom_instrumented = false, custom_method = '', tracked_func = false, tracked_function_name = '') ⇒ 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.
rubocop:disable Metrics/ParameterLists
17 18 19 20 21 22 23 24 25 |
# File 'lib/stackify_apm/spies.rb', line 17 def initialize(const_name, require_paths, spy, custom_instrumented = false, custom_method = '', tracked_func = false, tracked_function_name = '') @const_name = const_name @require_paths = Array(require_paths) @spy = spy @custom_instrumented = custom_instrumented @custom_method = custom_method @tracked_func = tracked_func @tracked_function_name = tracked_function_name 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.
rubocop:enable Metrics/ParameterLists
28 29 30 |
# File 'lib/stackify_apm/spies.rb', line 28 def const_name @const_name end |
#custom_instrumented ⇒ 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.
rubocop:enable Metrics/ParameterLists
28 29 30 |
# File 'lib/stackify_apm/spies.rb', line 28 def custom_instrumented @custom_instrumented end |
#custom_method ⇒ 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.
rubocop:enable Metrics/ParameterLists
28 29 30 |
# File 'lib/stackify_apm/spies.rb', line 28 def custom_method @custom_method 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.
rubocop:enable Metrics/ParameterLists
28 29 30 |
# File 'lib/stackify_apm/spies.rb', line 28 def require_paths @require_paths end |
#tracked_func ⇒ 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.
rubocop:enable Metrics/ParameterLists
28 29 30 |
# File 'lib/stackify_apm/spies.rb', line 28 def tracked_func @tracked_func end |
#tracked_function_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.
rubocop:enable Metrics/ParameterLists
28 29 30 |
# File 'lib/stackify_apm/spies.rb', line 28 def tracked_function_name @tracked_function_name end |