Class: Harmoniser::Subscriber::Registry

Inherits:
Object
  • Object
show all
Extended by:
Forwardable
Defined in:
lib/harmoniser/subscriber/registry.rb

Instance Method Summary collapse

Constructor Details

#initializeRegistry

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_sObject



14
15
16
# File 'lib/harmoniser/subscriber/registry.rb', line 14

def to_s
  to_a.map(&:harmoniser_subscriber_to_s).to_s
end