Sha256: f94536c62fd090420943e8af3a5a82cb31854e32d3909d88bcb66a5e25780643
Contents?: true
Size: 488 Bytes
Versions: 6
Compression:
Stored size: 488 Bytes
Contents
# frozen_string_literal: true require_relative "expression" require_relative "../utilities" module Glossarist module Designation class Abbreviation < Expression include Glossarist::Utilities::Enum register_enum :type, Glossarist::GlossaryDefinition::ABBREVIATION_TYPES attr_accessor :international def to_h super().merge({ "type" => type.to_s, "international" => international, }).compact end end end end
Version data entries
6 entries across 6 versions & 2 rubygems