Sha256: 820e7e4d1f153cf64138d382065daf5a3eaf92098c7230b60447be0076ff7f2e

Contents?: true

Size: 430 Bytes

Versions: 1

Compression:

Stored size: 430 Bytes

Contents

#!/usr/bin/env ruby -w
# Copyright (C) 2004-2007 Kouichirou Eto, All rights reserved.
# License: Ruby License

$LOAD_PATH.unshift("..") if !$LOAD_PATH.include?("..")
require "sgl/sgl-connect"

module Sgl
  class Client
    def self.main(argv)
      uri = ARGV.shift
      there = DRbObject.new_with_uri(uri)
      there.puts('Hello, World.')
    end
  end
end

if $0 == __FILE__
  require "test/unit"
  Sgl::Client.main(ARGV)
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
sgl-0.4.0 lib/sgl/sgl-client.rb