class SQLiteServer2018

Public Class Methods

new(host: 'localhost', port: '57000', cache: 5, debug: false, filepath: '.') click to toggle source
# File lib/sqlite_server2018.rb, line 131
def initialize(host: 'localhost', port: '57000', cache: 5, 
               debug: false, filepath: '.')

  @host, @port, @cache, @filepath = host, port, cache, filepath

end

Public Instance Methods

start() click to toggle source
# File lib/sqlite_server2018.rb, line 138
def start()
  
  DRb.start_service "druby://#{@host}:#{@port}", 
      SQLiteServer.new(cache: @cache, debug: @debug, filepath: @filepath)
  DRb.thread.join

end