Class: Pubid::Etsi::Builder
- Inherits:
-
Object
- Object
- Pubid::Etsi::Builder
- Defined in:
- lib/pubid/etsi/builder.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.build(parsed_data) ⇒ Object
6 7 8 |
# File 'lib/pubid/etsi/builder.rb', line 6 def self.build(parsed_data) new.build(parsed_data) end |
Instance Method Details
#build(data) ⇒ Object
10 11 12 13 14 15 16 17 |
# File 'lib/pubid/etsi/builder.rb', line 10 def build(data) # Check if supplements are present if data[:supplements] build_with_supplements(data) else build_etsi_standard(data) end end |