gavinlaking/vedeu

View on GitHub
bin/vedeu_drb_client

Summary

Maintainability
Test Coverage
#!/usr/bin/env ruby

# frozen_string_literal: true

lib_dir = File.dirname(__FILE__) + '/../lib'
$LOAD_PATH.unshift(lib_dir) unless $LOAD_PATH.include?(lib_dir)

require 'vedeu'

client = Vedeu::Distributed::Client.new('druby://localhost:21420')
client.input('l')
sleep 1
client.shutdown