Method: Lightning::RPC#initialize
- Defined in:
- lib/lightning/rpc.rb
#initialize(socket_path) ⇒ RPC
Returns a new instance of RPC.
28 29 30 31 |
# File 'lib/lightning/rpc.rb', line 28 def initialize(socket_path) @socket_path = socket_path @next_id = 0 end |