Sha256: 9430c787323fdc1cd10f07f996cdc07b82b42d6d8604827e65f302489c772ccf

Contents?: true

Size: 256 Bytes

Versions: 2

Compression:

Stored size: 256 Bytes

Contents

# encoding: utf-8

class RemoteObject
  def server_timestamp
    Time.now.to_i
  end

  def buggy_method
    raise "This exception is expected."
  end

  def method_missing(name, *args)
    "[SERVER] received method #{name} with #{args.inspect}"
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
sync_service-0.1.0 lib/rpc/examples/helpers.rb
sync_service-0.0.8 lib/rpc/examples/helpers.rb