Class: Metanorma::Plugin::Lutaml::ExpressRemarkAdapter::RepoAdapter

Inherits:
Base
  • Object
show all
Defined in:
lib/metanorma/plugin/lutaml/express_remark_adapter.rb

Instance Method Summary collapse

Methods inherited from Base

#initialize, #unwrap

Constructor Details

This class inherits a constructor from Metanorma::Plugin::Lutaml::ExpressRemarkAdapter::Base

Instance Method Details

#decorate_remarks(options) ⇒ Object



83
84
85
86
87
88
89
# File 'lib/metanorma/plugin/lutaml/express_remark_adapter.rb', line 83

def decorate_remarks(options)
  @model.schemas.each do |schema|
    options["relative_path_prefix"] =
      ExpressRemarkAdapter.relative_path_prefix(options, schema)
    ExpressRemarkAdapter.for(schema).decorate_remarks(options)
  end
end