lib/aws/s3/s3_object.rb in aws-sdk-1.6.0 vs lib/aws/s3/s3_object.rb in aws-sdk-1.6.1
- old
+ new
@@ -469,10 +469,10 @@
# new_obj.exists? #=> true
#
# If you need to move an object to a different bucket, pass
# +:bucket+ or +:bucket_name+.
#
- # obj = s3.buckets['old-bucket'].objects['old-key]
+ # obj = s3.buckets['old-bucket'].objects['old-key']
# obj.move_to('new-key', :bucket_name => 'new_bucket')
#
# If the copy succeeds, but the then the delete fails, an error
# will be raised.
#