Class: Metanorma::Plugin::Lutaml::Config::Package

Inherits:
Lutaml::Model::Serializable
  • Object
show all
Defined in:
lib/metanorma/plugin/lutaml/config/package.rb

Instance Method Summary collapse

Instance Method Details

#collection_for(key) ⇒ Object



18
19
20
21
22
23
24
# File 'lib/metanorma/plugin/lutaml/config/package.rb', line 18

def collection_for(key)
  case key
  when "render_entities" then render_entities
  when "skip_tables" then skip_tables
  else raise ArgumentError, "Unknown collection key: #{key}"
  end
end