lib/terraforming/resource/iam_role.rb in terraforming-0.9.1 vs lib/terraforming/resource/iam_role.rb in terraforming-0.10.0
- old
+ new
@@ -43,10 +43,10 @@
end
private
def iam_roles
- @client.list_roles.collect {|r| r.roles}.flatten
+ @client.list_roles.map(&:roles).flatten
end
end
end
end