Sha256: 10e0621ac35fb7c575e4fead16814058db29e5c996dff5b1f451e3d54661216b
Contents?: true
Size: 831 Bytes
Versions: 2
Compression:
Stored size: 831 Bytes
Contents
require "pathname" require "drb/drb" require "akephalos/client" class NameError::Message def _dump to_s end end [ java.net.URL, java.util.List, com.gargoylesoftware.htmlunit.html.DomNode, com.gargoylesoftware.htmlunit.html.DomElement, com.gargoylesoftware.htmlunit.html.HtmlAnchor, com.gargoylesoftware.htmlunit.html.HtmlElement, com.gargoylesoftware.htmlunit.html.HtmlPage, org.w3c.dom.Node, org.w3c.dom.NamedNodeMap, com.gargoylesoftware.htmlunit.WebClient, com.gargoylesoftware.htmlunit.WebResponse, com.gargoylesoftware.htmlunit.WebRequestSettings ].each { |klass| klass.send(:include, DRbUndumped) } module Akephalos class Server def self.start!(socket_file) client = Client.new DRb.start_service("drbunix://#{socket_file}", client) DRb.thread.join end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
akephalos-0.0.3 | lib/akephalos/server.rb |
akephalos-0.0.2 | lib/akephalos/server.rb |