Class: Harmoniser::Subscriber::Registry
- Inherits:
-
Object
- Object
- Harmoniser::Subscriber::Registry
- Extended by:
- Forwardable
- Defined in:
- lib/harmoniser/subscriber/registry.rb
Instance Method Summary collapse
-
#initialize ⇒ Registry
constructor
A new instance of Registry.
- #to_s ⇒ Object
Constructor Details
#initialize ⇒ Registry
Returns a new instance of Registry.
10 11 12 |
# File 'lib/harmoniser/subscriber/registry.rb', line 10 def initialize @klasses = Set.new end |
Instance Method Details
#to_s ⇒ Object
14 15 16 |
# File 'lib/harmoniser/subscriber/registry.rb', line 14 def to_s to_a.map(&:harmoniser_subscriber_to_s).to_s end |