Module: Hikkmemo

Defined in:
lib/hikkmemo.rb,
lib/hikkmemo/util.rb,
lib/hikkmemo/reader.rb,
lib/hikkmemo/worker.rb,
lib/hikkmemo/readers.rb,
lib/hikkmemo/session.rb,
lib/hikkmemo/ring_buffer.rb

Defined Under Namespace

Modules: Readers, Util Classes: Reader, RingBuffer, Session, Worker

Class Method Summary collapse

Class Method Details

.run(*args, &block) ⇒ Object



6
7
8
9
10
11
# File 'lib/hikkmemo.rb', line 6

def run(*args, &block)
  Thread.abort_on_exception = true
  s = Session.new(*args)
  s.instance_eval(&block)
  s.interact
end