Using remote objects under dRuby
This example illustrates returning a reference to an object from a dRuby call. The Logger instances live in the server process. References to them are returned to the client proces
Read tutorialTHE TUTORIAL LIBRARY
This example illustrates returning a reference to an object from a dRuby call. The Logger instances live in the server process. References to them are returned to the client proces
Read tutorialThis illustrates setting up a simple client-server drb system. Run the server and client code in different terminals, starting the server code first.
Read tutorialdRuby is a distributed object system for Ruby. It is written in pure Ruby and uses its own protocol. No add-in services are needed beyond those provided by the Ruby runtime, such a
Read tutorialThe delegate.rb library provides three different ways to delegate method calls to an object. The easiest to use is SimpleDelegator. Pass an object to the constructor and all method
Read tutorialIn common usage, the date is reckoned in years since or before the Common Era (CE/BCE, also known as AD/BC), then as a month and day-of-the-month within the current year. This is k
Read tutorialTo Open a CSV formatted file for reading or writing use open(path, mode, fs = nil, rs = nil, &block)
Read tutorialPrint an HTTP header and body to $DEFAULT_OUTPUT
Read tutorialCreate an HTTP header block as a string
Read tutorialUnescape a string that has been HTML-escaped
Read tutorialUndo escaping such as that done by CGI::escapeElement()
Read tutorialURL-decode a string
Read tutorialFormat a Time object as a String using the format specified by RFC 1123.
Read tutorialOne example today. A better developer tomorrow.