require 'drb' module Smilies class Client def initialize(server=nil) if server @server = server else @server = DRb::DRbObject.new(nil, 'druby://localhost:8809') end end def green(summary=nil, message=nil) @server.green(summary, message) end def yellow(summary=nil, message=nil) @server.yellow(summary, message) end def red(summary=nil, message=nil) @server.red(summary, message) end end end