class Fontist::Import::FormulaSerializer

Public Class Methods

new(formula, code) click to toggle source
# File lib/fontist/import/formula_serializer.rb, line 4
def initialize(formula, code)
  @formula = formula
  @code = code
end

Public Instance Methods

call() click to toggle source
# File lib/fontist/import/formula_serializer.rb, line 9
def call
  to_h.compact
end