aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/resource.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Homebrew/resource.rb')
-rw-r--r--Library/Homebrew/resource.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/Library/Homebrew/resource.rb b/Library/Homebrew/resource.rb
index d1f0b91b4..a9380db88 100644
--- a/Library/Homebrew/resource.rb
+++ b/Library/Homebrew/resource.rb
@@ -8,13 +8,12 @@ require 'version'
class Resource
include FileUtils
- attr_reader :name
attr_reader :checksum, :mirrors, :specs, :using
attr_writer :url, :checksum, :version
# Formula name must be set after the DSL, as we have no access to the
# formula name before initialization of the formula
- attr_accessor :owner
+ attr_accessor :name, :owner
def initialize name=nil, &block
@name = name