Fix example in ruby readme

pull/7838/head
Teodor 9 years ago
parent 0e43d67602
commit e898ee608c
No known key found for this signature in database
GPG Key ID: 838705B8BFBDADB5
  1. 2
      src/ruby/README.md

@ -64,7 +64,7 @@ Directory structure is the layout for [ruby extensions][]
- bin: example gRPC clients and servers, e.g,
```ruby
stub = Math::Math::Stub.new('my.test.math.server.com:8080')
stub = Math::Math::Stub.new('my.test.math.server.com:8080', :this_channel_is_insecure)
req = Math::DivArgs.new(dividend: 7, divisor: 3)
GRPC.logger.info("div(7/3): req=#{req.inspect}")
resp = stub.div(req)

Loading…
Cancel
Save