Lines Matching refs:stub
44 def do_div(stub) argument
49 resp = stub.div(req)
54 def do_sum(stub) argument
60 resp = stub.sum(reqs) # reqs.is_a?(Enumerable)
65 def do_fib(stub) argument
70 resp = stub.fib(req)
77 def do_div_many(stub) argument
85 resp = stub.div_many(reqs)
127 stub = Math::Math::Stub.new(options['host'], **stub_opts)
130 … stub = Math::Math::Stub.new(options['host'], :this_channel_is_insecure, timeout: INFINITE_FUTURE)
134 do_div(stub)
135 do_sum(stub)
136 do_fib(stub)
137 do_div_many(stub)