Method: Tankobon::Application#batch

Defined in:
lib/tankobon/application.rb

#batch(name) ⇒ Object



8
9
10
11
12
13
14
15
16
17
# File 'lib/tankobon/application.rb', line 8

def batch(name)
  if name then
    @batch = name
    @archive = batched_class(Archive)
    @directory = batched_class(Directory)
  else
    no_batch
  end
  self
end