lib/homebrew_automation/formula.rb
# Insert or replace the Homebrew Bottle for a given OS
#
# @param os [String] Operating system name, e.g. "yosemite", as per Homebrew's conventions
# @param sha256 [String] Checksum of the binary "Bottle" tarball
# @return [Formula] a new instance of Formula with the changes applied
Insert or replace the Homebrew Bottle for a given OS
Insert or replace the Homebrew Bottle for a given OS
def put_bottle os, sha256
      f = Formula.new(update(
        @ast,
        bot_begin_path,
        put_bottle_version(os, sha256)))
      f
    end
def put_bottle os , sha256 f = Formula . new ( update ( @ast , bot_begin_path , put_bottle_version ( os , sha256 ) ) ) f end
Insert or replace the Homebrew Bottle for a given OS
Insert or replace the Homebrew Bottle for a given OS
a new instance of Formula with the changes applied
a new instance of Formula with the changes applied
Formula
os
Operating system name, e.g. "yosemite", as per Homebrew's conventions
Operating system name e . g . " yosemite " as per Homebrew ' s conventions
sha256
Checksum of the binary "Bottle" tarball
Checksum of the binary " Bottle " tarball