Class: Coradoc::Markdown::NamedValue

Inherits:
Base
  • Object
show all
Defined in:
lib/coradoc/markdown/model/named_value.rb

Overview

A typed key-value pair used wherever Markdown models need arbitrary attributes (IAL key=“value” pairs, extension options, etc.).

Replaces raw Hash attributes so that every attribute on a model is a typed lutaml-model declaration.

Examples:

NamedValue.new(name: "data-role", value: "main")

Method Summary

Methods inherited from Base

visit, #visit