Sha256: f1f072d341e9c1c125b4828ea721f8c36e4a714da1708795de362f8b6b728ca7

Contents?: true

Size: 227 Bytes

Versions: 3

Compression:

Stored size: 227 Bytes

Contents

require 'adaptation'
require 'adaptation/mom'

config = YAML::load(File.open("#{ADAPTOR_ROOT}/config/mom.yml"))
mom_uri = "druby://#{config["mom"]["host"]}:#{config["mom"]["port"]}"

mom = Adaptation::Mom.new mom_uri
mom.start

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
adaptation-0.0.1 lib/commands/mom.rb
adaptation-0.0.3 lib/commands/mom.rb.descartat
adaptation-0.0.2 lib/commands/mom.rb