Class: Skylight::Core::Probes::ProbeRegistration Private

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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_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.


7
8
9
# File 'lib/skylight/core/probes.rb', line 7

def klass_name
  @klass_name
end

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


7
8
9
# File 'lib/skylight/core/probes.rb', line 7

def name
  @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.


7
8
9
# File 'lib/skylight/core/probes.rb', line 7

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.


7
8
9
# File 'lib/skylight/core/probes.rb', line 7

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.


16
17
18
# File 'lib/skylight/core/probes.rb', line 16

def install
  probe.install
end