class Buffalo < Formula desc "Font for buffalo" homepage "https://github.com/buffalo" url "./buffalo/buffalo.zip" sha256 "41e2bb265efc378ebd4878b9033362e31b10db80cace2401d7bafbbb466cc2ee" version "latest" def install (share/"fonts").install Dir["*.ttf", "*.otf"] end test do assert_predicate share/"fonts/buffalo-Regular.ttf", :exist? end end