Sha256: 387f61e0ca68c8e0045c0032808efa751646d644216ac146122351967d7666f5

Contents?: true

Size: 406 Bytes

Versions: 2

Compression:

Stored size: 406 Bytes

Contents

require "pathname"
require "drb/drb"
require "akephalos/client"

class NameError::Message
  def _dump
    to_s
  end
end

[
  Akephalos::Page,
  Akephalos::Node
].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.5 lib/akephalos/server.rb
akephalos-0.0.4 lib/akephalos/server.rb