class Tempbucket::File

Public Class Methods

new(fogfile) click to toggle source
# File lib/tempbucket.rb, line 28
def initialize(fogfile)
  @fogfile = fogfile
end

Public Instance Methods

close() click to toggle source
# File lib/tempbucket.rb, line 40
def close
  @fogfile.destroy
end
key() click to toggle source
# File lib/tempbucket.rb, line 32
def key
  @fogfile.key
end
read() click to toggle source
# File lib/tempbucket.rb, line 36
def read
  @fogfile.body
end