From 7a49c143e4e44a280c7625404d8f84bab5677d88 Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Mon, 12 Jan 2015 00:37:24 -0500 Subject: [PATCH] Use attr_accessor for checksum --- Library/Homebrew/resource.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Library/Homebrew/resource.rb b/Library/Homebrew/resource.rb index dd7245b4cc..92c9fa91ba 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