class ActiveOutlineClient
Public Class Methods
new(host: 'localhost', port: '60700')
click to toggle source
# File lib/activeoutline_client.rb, line 10 def initialize(host: 'localhost', port: '60700') DRb.start_service # attach to the DRb server via a URI given on the command line @ao = DRbObject.new nil, "druby://#{host}:#{port}" end
Public Instance Methods
fetch(s)
click to toggle source
# File lib/activeoutline_client.rb, line 19 def fetch(s) @ao.fetch(s) end
ls(path='.')
click to toggle source
# File lib/activeoutline_client.rb, line 23 def ls(path='.') @ao.ls path end
reload()
click to toggle source
# File lib/activeoutline_client.rb, line 27 def reload() @ao.reload end