Class: EventEngine::SubjectRegistry::Subject

Inherits:
Object
  • Object
show all
Defined in:
lib/event_engine/subject_registry.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name, **metadata) ⇒ Subject

Returns a new instance of Subject.



8
9
10
11
# File 'lib/event_engine/subject_registry.rb', line 8

def initialize(name, **)
  @name = name
  @metadata = 
end

Instance Attribute Details

#metadataObject (readonly)

Returns the value of attribute metadata.



6
7
8
# File 'lib/event_engine/subject_registry.rb', line 6

def 
  @metadata
end

#nameObject (readonly)

Returns the value of attribute name.



6
7
8
# File 'lib/event_engine/subject_registry.rb', line 6

def name
  @name
end