Method: Ftpd::Stream#initialize
- Defined in:
- lib/ftpd/stream.rb
#initialize(io, data_type) ⇒ Stream
Returns a new instance of Stream.
15 16 17 18 |
# File 'lib/ftpd/stream.rb', line 15 def initialize(io, data_type) @io, @data_type = io, data_type @byte_count = 0 end |