Class: Lutaml::Express::Parsers::Exp

Inherits:
Object
  • Object
show all
Defined in:
lib/lutaml/express/parsers/exp.rb

Overview

Class for parsing .exp schema files into Expressir::Model::Repository

Class Method Summary collapse

Class Method Details

.parse(io, _options = {}) ⇒ Expressir::Model::Repository

Parameters:

  • io (String)
    • file object with path to .exp file

    Hash

    options - options for parsing

Returns:

  • (Expressir::Model::Repository)


15
16
17
# File 'lib/lutaml/express/parsers/exp.rb', line 15

def self.parse(io, _options = {})
  Expressir::Express::Parser.from_files([io.path])
end