Class: Fontist::SystemIndex::DefaultFamily

Inherits:
Object
  • Object
show all
Defined in:
lib/fontist/system_index.rb

Instance Method Summary collapse

Instance Method Details

#family_name(name) ⇒ Object



9
10
11
# File 'lib/fontist/system_index.rb', line 9

def family_name(name)
  name.family
end

#transform_override_keys(dict) ⇒ Object



17
18
19
# File 'lib/fontist/system_index.rb', line 17

def transform_override_keys(dict)
  dict
end

#type(name) ⇒ Object



13
14
15
# File 'lib/fontist/system_index.rb', line 13

def type(name)
  name.subfamily
end