Method: CMUX::Connection#open
- Defined in:
- lib/cmux/connection.rb
#open(device) ⇒ Object
27 28 29 30 31 32 33 34 |
# File 'lib/cmux/connection.rb', line 27 def open(device) status = Library.cmux_open @handle, device if status == -1 raise Library.cmux_error(@handle) end nil end |