Class: Skylight::Core::Subscriber::Notification Private

Inherits:
Object
  • Object
show all
Defined in:
lib/skylight/core/subscriber.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.

ActiveSupport::Notifications API

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name, span) ⇒ Notification

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



37
38
39
# File 'lib/skylight/core/subscriber.rb', line 37

def initialize(name, span)
  @name, @span = name, span
end

Instance Attribute Details

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



35
36
37
# File 'lib/skylight/core/subscriber.rb', line 35

def name
  @name
end

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



35
36
37
# File 'lib/skylight/core/subscriber.rb', line 35

def span
  @span
end