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