lib/google/cloud/storage/policy.rb in google-cloud-storage-1.13.0 vs lib/google/cloud/storage/policy.rb in google-cloud-storage-1.13.1
- old
+ new
@@ -173,10 +173,10 @@
warn "DEPRECATED: Storage::Policy#deep_dup"
dup.tap do |p|
roles_dup = p.roles.each_with_object({}) do |(k, v), memo|
memo[k] = v.dup rescue value
end
- p.instance_variable_set "@roles", roles_dup
+ p.instance_variable_set :@roles, roles_dup
end
end
##
# @private Convert the Policy to a