Class: Glossarist::Designation::Abbreviation
- Inherits:
-
Expression
- Object
- Lutaml::Model::Serializable
- Base
- Expression
- Glossarist::Designation::Abbreviation
- Defined in:
- lib/glossarist/designation/abbreviation.rb
Class Method Summary collapse
Class Method Details
.of_yaml(hash, options = {}) ⇒ Object
19 20 21 22 23 |
# File 'lib/glossarist/designation/abbreviation.rb', line 19 def self.of_yaml(hash, = {}) hash["type"] = "abbreviation" unless hash["type"] super end |