class Fontist::Import::OtfinfoGenerate
Constants
- TEMPLATE_PATH
Public Class Methods
new(font)
click to toggle source
# File lib/fontist/import/otfinfo_generate.rb, line 12 def initialize(font) @font = font end
Public Instance Methods
call()
click to toggle source
# File lib/fontist/import/otfinfo_generate.rb, line 16 def call paths = font_paths(@font) puts paths styles = generate_styles(paths) puts render(styles) end