Use attr_accessor for checksum
This commit is contained in:
parent
3f08b8881b
commit
7a49c143e4
@ -8,9 +8,9 @@ require 'version'
|
|||||||
class Resource
|
class Resource
|
||||||
include FileUtils
|
include FileUtils
|
||||||
|
|
||||||
attr_reader :checksum, :mirrors, :specs, :using
|
attr_reader :mirrors, :specs, :using
|
||||||
attr_writer :checksum, :version
|
attr_writer :version
|
||||||
attr_accessor :download_strategy
|
attr_accessor :download_strategy, :checksum
|
||||||
|
|
||||||
# Formula name must be set after the DSL, as we have no access to the
|
# Formula name must be set after the DSL, as we have no access to the
|
||||||
# formula name before initialization of the formula
|
# formula name before initialization of the formula
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user