Sha256: 8e86e7ff4acfc637c6175616c3ee92be9c72a359a2f96375662431637c12ad5c
Contents?: true
Size: 372 Bytes
Versions: 8
Compression:
Stored size: 372 Bytes
Contents
require "fontist/utils" require "fontist/font_formula" module Fontist module Formulas def self.register_formulas Formulas.constants.select do |constant| if Formulas.const_get(constant).is_a?(Class) klass = "Fontist::Formulas::#{constant}" Fontist::Registry.register(Object.const_get(klass)) end end end end end
Version data entries
8 entries across 7 versions & 2 rubygems