app/jobs/concerns/bmc/setup_job_concern.rb in bmc-1.4.3 vs app/jobs/concerns/bmc/setup_job_concern.rb in bmc-1.5.0
- old
+ new
@@ -19,10 +19,10 @@
message = "wrong number of arguments (given #{args.length}, expected #{attrs.length})"
raise ArgumentError, message
end
attrs.length.times do |i|
- instance_variable_set("@#{attrs[i]}", args[i])
+ instance_variable_set(:"@#{attrs[i]}", args[i])
end
end
end
private :setup_with