Class: Skylight::Core::Probes::ProbeRegistration Private
- Inherits:
-
Object
- Object
- Skylight::Core::Probes::ProbeRegistration
- Defined in:
- lib/skylight/core/probes.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
- #klass_name ⇒ Object readonly private
- #name ⇒ Object readonly private
- #probe ⇒ Object readonly private
- #require_paths ⇒ Object readonly private
Instance Method Summary collapse
-
#initialize(name, klass_name, require_paths, probe) ⇒ ProbeRegistration
constructor
private
A new instance of ProbeRegistration.
- #install ⇒ Object private
Constructor Details
#initialize(name, klass_name, require_paths, probe) ⇒ ProbeRegistration
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 ProbeRegistration.
9 10 11 12 13 14 |
# File 'lib/skylight/core/probes.rb', line 9 def initialize(name, klass_name, require_paths, probe) @name = name @klass_name = klass_name @require_paths = Array(require_paths) @probe = probe end |
Instance Attribute Details
#klass_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.
7 8 9 |
# File 'lib/skylight/core/probes.rb', line 7 def klass_name @klass_name end |
#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.
7 8 9 |
# File 'lib/skylight/core/probes.rb', line 7 def name @name end |
#probe ⇒ 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.
7 8 9 |
# File 'lib/skylight/core/probes.rb', line 7 def probe @probe 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.
7 8 9 |
# File 'lib/skylight/core/probes.rb', line 7 def require_paths @require_paths end |
Instance Method Details
#install ⇒ Object
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.
16 17 18 |
# File 'lib/skylight/core/probes.rb', line 16 def install probe.install end |