Method: Whisper::Mbox#initialize
- Defined in:
- lib/whisper/mbox.rb
#initialize(fn, start_offset) ⇒ Mbox
Returns a new instance of Mbox.
22 23 24 25 26 |
# File 'lib/whisper/mbox.rb', line 22 def initialize fn, start_offset @fn = fn @offset = start_offset @mutex = Mutex.new end |