aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJack Nagel2015-01-12 00:37:24 -0500
committerJack Nagel2015-01-12 00:37:24 -0500
commit5922d0224f6d5450ff249d14cff630da372de356 (patch)
treeaece9e4c6abc11dcf225ca558d0e267fbc6767c7
parente7855835b2ee8a375be75e2cb5addf216cc988d6 (diff)
downloadhomebrew-5922d0224f6d5450ff249d14cff630da372de356.tar.bz2
Use attr_accessor for checksum
-rw-r--r--Library/Homebrew/resource.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/Library/Homebrew/resource.rb b/Library/Homebrew/resource.rb
index dd7245b4c..92c9fa91b 100644
--- a/Library/Homebrew/resource.rb
+++ b/Library/Homebrew/resource.rb
@@ -8,9 +8,9 @@ require 'version'
class Resource
include FileUtils
- attr_reader :checksum, :mirrors, :specs, :using
- attr_writer :checksum, :version
- attr_accessor :download_strategy
+ attr_reader :mirrors, :specs, :using
+ attr_writer :version
+ attr_accessor :download_strategy, :checksum
# Formula name must be set after the DSL, as we have no access to the
# formula name before initialization of the formula