Class: Relaton::Gbbib::Processor

Inherits:
Processor
  • Object
show all
Defined in:
lib/relaton/processor.rb

Instance Method Summary collapse

Constructor Details

#initializeProcessor

Returns a new instance of Processor.



7
8
9
10
11
# File 'lib/relaton/processor.rb', line 7

def initialize
  @short = :gbbib
  #@prefix = %r{^(GB|GJ|GS)|^ZB|^DB|^Q\/|^T\/[^\s]{3,6}\s}
  @prefix = %r{^GB Standard }
end

Instance Method Details

#get(code, date, opts) ⇒ Object



13
14
15
# File 'lib/relaton/processor.rb', line 13

def get(code, date, opts)
  ::Gbbib::GbBibliography.get(code, date, opts)
end