class ActiveOutline
Public Class Methods
new(filepath='outline.txt', host: 'localhost', port: '60700', debug: false, default_url: nil)
click to toggle source
# File lib/activeoutline.rb, line 75 def initialize(filepath='outline.txt', host: 'localhost', port: '60700', debug: false, default_url: nil) @filepath, @host, @port, @debug = filepath, host, port, debug @default_url = default_url end
Public Instance Methods
start()
click to toggle source
# File lib/activeoutline.rb, line 83 def start() lr = LinkReader.new(@filepath, debug: @debug, default_url: @default_url) DRb.start_service "druby://#{@host}:#{@port}", lr DRb.thread.join end