Sha256: c1bf88ec041dbbec60554d2b46fb395a19c0c2a49a4b7b86f9a027e55f2693b8
Contents?: true
Size: 365 Bytes
Versions: 11
Compression:
Stored size: 365 Bytes
Contents
# frozen_string_literal: true module Glossarist class ConceptDate < Model include Glossarist::Utilities::Enum # Iso8601 date # @return [String] attr_accessor :date register_enum :type, Glossarist::GlossaryDefinition::CONCEPT_DATE_TYPES def to_h { "type" => type, "date" => date, }.compact end end end
Version data entries
11 entries across 11 versions & 2 rubygems