Class: HrrRbSftp::Sender
- Inherits:
-
Object
- Object
- HrrRbSftp::Sender
- Defined in:
- lib/hrr_rb_sftp/sender.rb
Overview
This class implements payload sender.
Instance Method Summary collapse
-
#initialize(io_out) ⇒ Sender
constructor
Instantiates a new payload sender for the output IO.
-
#send(payload) ⇒ Object
Sends payload_length then payload.
Constructor Details
#initialize(io_out) ⇒ Sender
Instantiates a new payload sender for the output IO.
13 14 15 |
# File 'lib/hrr_rb_sftp/sender.rb', line 13 def initialize io_out @io_out = io_out end |