Method: Coradoc::Oscal#to_oscal

Defined in:
lib/coradoc/oscal.rb

#to_oscalObject



15
16
17
18
19
20
# File 'lib/coradoc/oscal.rb', line 15

def to_oscal
  {
    "metadata" => _doc.document_attributes.to_hash,
    "groups"   => sections_as_groups,
  }
end