lib/s3/right_s3.rb
# Replace meta-headers by new hash at S3. Returns new meta-headers hash.
#
#  key.reload_meta   #=> {"family"=>"qwerty", "name"=>"asdfg"}
#  key.save_meta     #=> {"family"=>"oops", "race" => "troll"}
#  key.reload_meta   #=> {"family"=>"oops", "race" => "troll"}
#
Replace meta-headers by new hash at S3. Returns new meta-headers hash.
Replace meta - headers by new hash at S3 . Returns new meta - headers hash .
def save_meta(meta_headers)
        meta = self.class.add_meta_prefix(meta_headers)
        @bucket.s3.interface.copy(@bucket.name, @name, @bucket.name, @name, :replace, meta)
        @meta_headers = self.class.split_meta(meta)[1]
      end
def save_meta ( meta_headers ) meta = self . class . add_meta_prefix ( meta_headers ) @bucket . s3 . interface . copy ( @bucket . name , @name , @bucket . name , @name , :replace , meta ) @meta_headers = self . class . split_meta ( meta ) [ 1 ] end
Replace meta-headers by new hash at S3.
Replace meta - headers by new hash at S3 .
meta_headers
<not_specific>