Class: Ap4r::Configuration::Services

Inherits:
Object
  • Object
show all
Includes:
Enumerable, Singleton
Defined in:
lib/ap4r/util/irm.rb

Overview

:nodoc:

Instance Method Summary collapse

Constructor Details

#initializeServices

Returns a new instance of Services.



19
20
21
# File 'lib/ap4r/util/irm.rb', line 19

def initialize
  @list = []
end

Instance Method Details

#add(*args) ⇒ Object



23
24
25
26
# File 'lib/ap4r/util/irm.rb', line 23

def add(*args)
  client = Ap4r::Util::QueueClient.new(*args)
  @list << (client)
end

#each(&block) ⇒ Object



28
29
30
# File 'lib/ap4r/util/irm.rb', line 28

def each(&block)
  @list.each(&block)
end