Method: ReliableMsg::Config#load_no_create

Defined in:
lib/reliable-msg/queue-manager.rb

#load_no_createObject



63
64
65
66
67
68
69
70
71
72
73
# File 'lib/reliable-msg/queue-manager.rb', line 63

def load_no_create
    if File.exist?(@file)
        @config= {}
        File.open @file, "r" do |input|
            YAML.load_documents input do |doc|
                @config.merge! doc
            end
        end
        true
    end
end