Method: ThriftClient::Simple::ThriftService#initialize
- Defined in:
- lib/thrift_client/simple.rb
#initialize(sock) ⇒ ThriftService
Returns a new instance of ThriftService.
236 237 238 |
# File 'lib/thrift_client/simple.rb', line 236 def initialize(sock) @sock = sock end |