aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/formula.rb
diff options
context:
space:
mode:
authorJack Nagel2013-06-04 11:05:02 -0500
committerJack Nagel2013-06-04 11:06:18 -0500
commitb97b013fcea50c783faf85e7c12f7844eb86e4b3 (patch)
treeb6b12ee2f83044d7ab57e96331a48325520fccd6 /Library/Homebrew/formula.rb
parent87819502945c546ff3356804ffd857df7d5406fa (diff)
downloadbrew-b97b013fcea50c783faf85e7c12f7844eb86e4b3.tar.bz2
Extract attr_rw from Formula for reuse
Closes Homebrew/homebrew#20239.
Diffstat (limited to 'Library/Homebrew/formula.rb')
-rw-r--r--Library/Homebrew/formula.rb10
1 files changed, 0 insertions, 10 deletions
diff --git a/Library/Homebrew/formula.rb b/Library/Homebrew/formula.rb
index 4a24552ef..ed251f6b0 100644
--- a/Library/Homebrew/formula.rb
+++ b/Library/Homebrew/formula.rb
@@ -688,16 +688,6 @@ class Formula
class << self
# The methods below define the formula DSL.
- def self.attr_rw(*attrs)
- attrs.each do |attr|
- class_eval <<-EOS, __FILE__, __LINE__ + 1
- def #{attr}(val=nil)
- val.nil? ? @#{attr} : @#{attr} = val
- end
- EOS
- end
- end
-
attr_rw :homepage, :keg_only_reason, :skip_clean_all, :cc_failures
attr_rw :plist_startup, :plist_manual