Class: EventEngine::SubjectRegistry::Subject
- Inherits:
-
Object
- Object
- EventEngine::SubjectRegistry::Subject
- Defined in:
- lib/event_engine/subject_registry.rb
Instance Attribute Summary collapse
-
#metadata ⇒ Object
readonly
Returns the value of attribute metadata.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
Instance Method Summary collapse
-
#initialize(name, **metadata) ⇒ Subject
constructor
A new instance of Subject.
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
#metadata ⇒ Object (readonly)
Returns the value of attribute metadata.
6 7 8 |
# File 'lib/event_engine/subject_registry.rb', line 6 def @metadata end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
6 7 8 |
# File 'lib/event_engine/subject_registry.rb', line 6 def name @name end |