aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd/create.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Homebrew/cmd/create.rb')
-rw-r--r--Library/Homebrew/cmd/create.rb8
1 files changed, 2 insertions, 6 deletions
diff --git a/Library/Homebrew/cmd/create.rb b/Library/Homebrew/cmd/create.rb
index 5565cfb11..9f215a0f2 100644
--- a/Library/Homebrew/cmd/create.rb
+++ b/Library/Homebrew/cmd/create.rb
@@ -71,12 +71,8 @@ module Homebrew extend self
end
class FormulaCreator
- attr :url
- attr :sha1
- attr :name, true
- attr :version, true
- attr :path, true
- attr :mode, true
+ attr_reader :url, :sha1
+ attr_accessor :name, :version, :path, :mode
def url= url
@url = url