module RabbitMQSpec::Setup::WorldFetcher
@api private Given a file path it opens the file and evaluate its content using the DSL @example
RabbitMQSpec::Setup::WorldFetcher.('/my/file/path.rb')
Public Class Methods
call(mqspec_file_path)
click to toggle source
# 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