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



102
103
104
# File 'lib/metanorma/plugin/lutaml/express_remark_adapter.rb', line 102

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

#unwrap ⇒ Object



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

def unwrap
  @model.content
end