Class: Lutaml::ModelTransformations::Configuration::ParserConfig

Inherits:
Lutaml::Model::Serializable
  • Object
show all
Defined in:
lib/lutaml/model_transformations/configuration.rb

Overview

Parser configuration model

Instance Method Summary collapse

Instance Method Details

#handles_extension?(ext) ⇒ Boolean

Check if this parser handles the given extension

Parameters:

  • ext (String)

    File extension (e.g., “.xmi”)

Returns:

  • (Boolean)

    true if this parser handles the extension



47
48
49
# File 'lib/lutaml/model_transformations/configuration.rb', line 47

def handles_extension?(ext)
  extension == ext.downcase
end