Class: Lutaml::Model::Mapping
- Inherits:
-
Object
- Object
- Lutaml::Model::Mapping
- Defined in:
- lib/lutaml/model/mapping/mapping.rb
Direct Known Subclasses
Instance Method Summary collapse
-
#initialize ⇒ Mapping
constructor
A new instance of Mapping.
- #mappings ⇒ Object
Constructor Details
#initialize ⇒ Mapping
Returns a new instance of Mapping.
4 5 6 |
# File 'lib/lutaml/model/mapping/mapping.rb', line 4 def initialize @mappings = [] end |
Instance Method Details
#mappings ⇒ Object
8 9 10 |
# File 'lib/lutaml/model/mapping/mapping.rb', line 8 def mappings raise NotImplementedError, "#{self.class.name} must implement `mappings`." end |