Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.
require 'drb/drb'
require 'drb/unix'
class Foo
include DRbUndumped
def foo(n)
n + n
end
def bar(n)
yield(n) + yield(n)
DRb.start_service('drbunix:', nil)
puts DRb.uri
ro = DRbObject.new(nil, ARGV.shift)
ro[:unix] = Foo.new
gets
it = ro[:tcp]
p [it, it.foo(1)]
p it.bar('2') {|n| n * 3}