Using Proxy to connect to URLs in Ruby
Net::HTTP.Proxy creates http proxy class. It has same methods of Net::HTTP but its instances always connect to proxy, instead of given host.
Read tutorialTHE TUTORIAL LIBRARY
Net::HTTP.Proxy creates http proxy class. It has same methods of Net::HTTP but its instances always connect to proxy, instead of given host.
Read tutorialThis sample code is used to post a form data to an URL.
Read tutorialThese examples are ruby sample code to access any http web page and read its contents
Read tutorialThis class implements the File Transfer Protocol. If you have used a command-line FTP program, and are familiar with the commands, you will be able to use this class easily. Some e
Read tutorialAs with all network services, security needs to be considered when using dRuby. By allowing external access to a Ruby object, you are not only allowing outside clients to call the
Read tutorialThis 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 tutorialOne example today. A better developer tomorrow.