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