Class: RabbitMQSpec::Setup::Runner Private
- Inherits:
-
Object
- Object
- RabbitMQSpec::Setup::Runner
- Defined in:
- lib/rabbitmq-spec/setup/runner.rb
Overview
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Read each file and setups RabbitMQ based on each mqspec defined on them
Instance Method Summary collapse
-
#initialize(paths_to_read, client) ⇒ Runner
constructor
private
A new instance of Runner.
- #run ⇒ void private
Constructor Details
#initialize(paths_to_read, client) ⇒ Runner
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Returns a new instance of Runner.
11 12 13 14 |
# File 'lib/rabbitmq-spec/setup/runner.rb', line 11 def initialize(paths_to_read, client) @paths_to_read = paths_to_read @client = client end |
Instance Method Details
#run ⇒ void
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
16 17 18 19 20 |
# File 'lib/rabbitmq-spec/setup/runner.rb', line 16 def run worlds.each do |world| setup_world(world) end end |