Class: Glossarist::Designation::Symbol

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

Direct Known Subclasses

GraphicalSymbol, LetterSymbol

Class Method Summary collapse

Class Method Details

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



12
13
14
15
16
# File 'lib/glossarist/designation/symbol.rb', line 12

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

  super
end