Sha256: 9de6a15ae0845140327fd5e49433d08708751247b9d8786bf71d58f78265e2e3
Contents?: true
Size: 450 Bytes
Versions: 28
Compression:
Stored size: 450 Bytes
Contents
# frozen_string_literal: true require_relative "yaml_object" module Lutaml module Model module YamlAdapter # Base class for YAML documents class YamlDocument < YamlObject def self.parse(yaml) raise NotImplementedError, "Subclasses must implement `parse`." end def to_yaml(*args) raise NotImplementedError, "Subclasses must implement `to_yaml`." end end end end end
Version data entries
28 entries across 28 versions & 1 rubygems