Class: Metanorma::Plugin::Lutaml::ExpressRemarkAdapter::CachedRepoAdapter

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

Instance Method Summary collapse

Methods inherited from Base

#initialize

Constructor Details

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

Instance Method Details

#decorate_remarks(options) ⇒ Object



97
98
99
# File 'lib/metanorma/plugin/lutaml/express_remark_adapter.rb', line 97

def decorate_remarks(options)
  ExpressRemarkAdapter.for(@model.content).decorate_remarks(options)
end

#unwrapObject



93
94
95
# File 'lib/metanorma/plugin/lutaml/express_remark_adapter.rb', line 93

def unwrap
  @model.content
end