Sha256: 25d0baef411813f57798d22d31d3a48ce61dd83769cf0240009bc257353ac072
Contents?: true
Size: 581 Bytes
Versions: 22
Compression:
Stored size: 581 Bytes
Contents
require_relative "formula_builder" module Fontist module Import class ManualFormulaBuilder < FormulaBuilder attr_accessor :description, :platforms, :instructions private def formula_attributes @formula_attributes ||= super.dup.tap do |attrs| attrs.delete(:resources) attrs.delete(:open_license) attrs.delete(:license_url) attrs.delete(:copyright) attrs.insert(attrs.index(:homepage) + 1, :platforms, :instructions) end end end end end
Version data entries
22 entries across 22 versions & 1 rubygems
Version | Path |
---|---|
fontist-1.13.0 | lib/fontist/import/manual_formula_builder.rb |
fontist-1.12.0 | lib/fontist/import/manual_formula_builder.rb |