Sha256: b030b70f84cab960fdebf5bdecc139f89386d030fdd476c3714fc65e89100e3a
Contents?: true
Size: 365 Bytes
Versions: 15
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 { "date" => date, "type" => type, }.compact end end end
Version data entries
15 entries across 15 versions & 1 rubygems