aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/formula_support.rb
diff options
context:
space:
mode:
authorMike McQuaid2013-03-08 16:07:37 +0000
committerMike McQuaid2013-03-09 21:27:41 +0000
commit5a2874c6520b6997137b130a67c9a49977ce49bb (patch)
tree5d6536b573920c37e85f9e3bbddda02a76e5edf9 /Library/Homebrew/formula_support.rb
parent2cc9322fbd961f7b2587de481e7662e604903bbe (diff)
downloadbrew-5a2874c6520b6997137b130a67c9a49977ce49bb.tar.bz2
bottles: remove unused 'version' from DSL.
Diffstat (limited to 'Library/Homebrew/formula_support.rb')
-rw-r--r--Library/Homebrew/formula_support.rb11
1 files changed, 0 insertions, 11 deletions
diff --git a/Library/Homebrew/formula_support.rb b/Library/Homebrew/formula_support.rb
index 3cd221129..5e8fa2965 100644
--- a/Library/Homebrew/formula_support.rb
+++ b/Library/Homebrew/formula_support.rb
@@ -125,17 +125,6 @@ class Bottle < SoftwareSpec
def revision val=nil
val.nil? ? @revision : @revision = val
end
-
- # Used in the old bottle DSL to set @revision, but acts as an
- # as accessor for @version to preserve the interface
- # TODO: Can be removed when no bottles are using `version` any more.
- def version val=nil
- if val.nil?
- return @version ||= Version.parse(@url)
- else
- @revision = val
- end
- end
end