Class: Lutaml::Model::Mapping

Inherits:
Object
  • Object
show all
Defined in:
lib/lutaml/model/mapping/mapping.rb

Direct Known Subclasses

KeyValueMapping, Xml::Mapping

Instance Method Summary collapse

Constructor Details

#initializeMapping

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

#mappingsObject

Raises:

  • (NotImplementedError)


8
9
10
# File 'lib/lutaml/model/mapping/mapping.rb', line 8

def mappings
  raise NotImplementedError, "#{self.class.name} must implement `mappings`."
end