Class: Pubid::Iec::Transformer
- Inherits:
-
Core::Transformer
- Object
- Core::Transformer
- Pubid::Iec::Transformer
- Defined in:
- lib/pubid/iec/transformer.rb
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize ⇒ Transformer
constructor
A new instance of Transformer.
Constructor Details
#initialize ⇒ Transformer
Returns a new instance of Transformer.
3 4 5 6 7 8 9 |
# File 'lib/pubid/iec/transformer.rb', line 3 def initialize super rule(database: "DB") do { database: true } end end |
Class Method Details
.get_amendment_class ⇒ Object
12 13 14 |
# File 'lib/pubid/iec/transformer.rb', line 12 def get_amendment_class Identifier::Amendment end |
.get_corrigendum_class ⇒ Object
16 17 18 |
# File 'lib/pubid/iec/transformer.rb', line 16 def get_corrigendum_class Identifier::Corrigendum end |