Change CLI#recipe as read-only attribute
This commit is contained in:
@@ -19,8 +19,7 @@ module Producer
|
||||
end
|
||||
end
|
||||
|
||||
attr_reader :arguments, :stdout
|
||||
attr_accessor :recipe
|
||||
attr_reader :arguments, :stdout, :recipe
|
||||
|
||||
def initialize(arguments, stdout: $stdout)
|
||||
raise ArgumentError unless arguments.any?
|
||||
|
Reference in New Issue
Block a user