Class: Glossarist::Designation::Suffix

Inherits:
Base
  • Object
show all
Defined in:
lib/glossarist/designation/suffix.rb

Class Method Summary collapse

Methods inherited from Base

infer_designation_type

Class Method Details

.of_yaml(hash, options = {}) ⇒ Object



10
11
12
13
14
# File 'lib/glossarist/designation/suffix.rb', line 10

def self.of_yaml(hash, options = {})
  hash["type"] = "suffix" unless hash["type"]

  super
end