Skip to content
This repository has been archived by the owner on Jan 16, 2025. It is now read-only.

Commit

Permalink
Remove dead code
Browse files Browse the repository at this point in the history
This code only existed to support very old formula syntax, which was
otherwise removed in e6b97be.
  • Loading branch information
jacknagel committed Feb 12, 2013
1 parent d396786 commit 123b88f
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions Library/Homebrew/formula.rb
Original file line number Diff line number Diff line change
Expand Up @@ -698,11 +698,7 @@ def build
@build ||= BuildOptions.new(ARGV.options_only)
end

def url val=nil, specs={}
if val.nil?
return @stable.url if @stable
return @url if @url
end
def url val, specs={}
@stable ||= SoftwareSpec.new
@stable.url(val, specs)
end
Expand Down

0 comments on commit 123b88f

Please sign in to comment.