Class: Glossarist::Designation::Abbreviation

Inherits:
Expression
  • Object
show all
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, options = {})
  hash["type"] = "abbreviation" unless hash["type"]

  super
end