Class: Relaton::Iecbib::Processor
- Inherits:
-
Processor
- Object
- Processor
- Relaton::Iecbib::Processor
- Defined in:
- lib/relaton/processor.rb
Instance Method Summary collapse
- #get(code, date, opts) ⇒ Object
-
#initialize ⇒ Processor
constructor
A new instance of Processor.
Constructor Details
#initialize ⇒ Processor
Returns a new instance of Processor.
7 8 9 10 11 12 |
# File 'lib/relaton/processor.rb', line 7 def initialize @short = :iecbib @prefix = "IEC" @defaultprefix = %r{^(IEC)[ /]|^IEV($| )} @idtype = "IEC" end |
Instance Method Details
#get(code, date, opts) ⇒ Object
14 15 16 |
# File 'lib/relaton/processor.rb', line 14 def get(code, date, opts) ::Iecbib::IecBibliography.get(code, date, opts) end |