Class: Skylight::Probes::ProbeRegistration Private

Inherits:
Object
  • Object
show all
Defined in:
lib/skylight/probes.rb

Overview

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.

API:

  • private

Instance Attribute Summary collapse

Instance Method Summary collapse

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.

API:

  • private



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_nameObject (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.

API:

  • private



5
6
7
# File 'lib/skylight/probes.rb', line 5

def klass_name
  @klass_name
end

#probeObject (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.

API:

  • private



5
6
7
# File 'lib/skylight/probes.rb', line 5

def probe
  @probe
end

#require_pathsObject (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.

API:

  • private



5
6
7
# File 'lib/skylight/probes.rb', line 5

def require_paths
  @require_paths
end

Instance Method Details

#installObject

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.

API:

  • private



13
14
15
# File 'lib/skylight/probes.rb', line 13

def install
  probe.install
end