Sha256: 28773138c3e6bc526b3cbdcb48f22c76cc740852f2e685924ae3d4f758cba0a4

Contents?: true

Size: 120 Bytes

Versions: 2

Compression:

Stored size: 120 Bytes

Contents

class TestServer
  def add(*args)
    args.inject {|n,v| n+v}
  end
  def add_yield(x)
    return (yield x)+1
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rubysl-drb-1.0.0 spec/fixtures/test_server.rb
rubysl-drb-2.0.1 spec/fixtures/test_server.rb