diff options
author | Tim Emiola <temiola@google.com> | 2015-04-16 12:56:11 -0700 |
---|---|---|
committer | Tim Emiola <temiola@google.com> | 2015-04-16 13:55:05 -0700 |
commit | 321871ee6e09373723b400b28e6d08bd18fac629 (patch) | |
tree | c5576368d456d1676aeb9982fc8c1bc3a60715e0 /src/ruby/bin | |
parent | 9558460b77d12deca7db0ecb2a43bf87a846baba (diff) |
Updates the example servers to use #run_till_terminated
Diffstat (limited to 'src/ruby/bin')
-rwxr-xr-x | src/ruby/bin/interop/interop_server.rb | 2 | ||||
-rwxr-xr-x | src/ruby/bin/math_server.rb | 2 | ||||
-rwxr-xr-x | src/ruby/bin/noproto_server.rb | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/ruby/bin/interop/interop_server.rb b/src/ruby/bin/interop/interop_server.rb index 0819ba9bbc..72570d92f3 100755 --- a/src/ruby/bin/interop/interop_server.rb +++ b/src/ruby/bin/interop/interop_server.rb @@ -185,7 +185,7 @@ def main logger.info("... running insecurely on #{host}") end s.handle(TestTarget) - s.run + s.run_till_terminated end main diff --git a/src/ruby/bin/math_server.rb b/src/ruby/bin/math_server.rb index 5cc7613489..1bfe253b85 100755 --- a/src/ruby/bin/math_server.rb +++ b/src/ruby/bin/math_server.rb @@ -183,7 +183,7 @@ def main end s.handle(Calculator) - s.run + s.run_till_terminated end main diff --git a/src/ruby/bin/noproto_server.rb b/src/ruby/bin/noproto_server.rb index 9979cb7ebb..f71daeadb3 100755 --- a/src/ruby/bin/noproto_server.rb +++ b/src/ruby/bin/noproto_server.rb @@ -105,7 +105,7 @@ def main end s.handle(NoProto) - s.run + s.run_till_terminated end main |