Module: RabbitMQSpec::Setup::WorldFetcher Private
- Defined in:
- lib/rabbitmq-spec/setup/world_fetcher.rb
Overview
This module is part of a private API. You should avoid using this module if possible, as it may be removed or be changed in the future.
Given a file path it opens the file and evaluate its content using the DSL
Class Method Summary collapse
- .call(mqspec_file_path) ⇒ void private
Class Method Details
.call(mqspec_file_path) ⇒ 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.
8 9 10 11 |
# File 'lib/rabbitmq-spec/setup/world_fetcher.rb', line 8 def call(mqspec_file_path) dsl_string = File.read(mqspec_file_path) RabbitMQSpec::DSL.evaluate(dsl_string) end |