Method: Arrow::Session::FileStore#retrieve

Defined in:
lib/arrow/session/filestore.rb

#retrieveObject

Retrieve the data hash stored in permanent storage associated with the id the object was created with.



105
106
107
108
109
110
111
112
# File 'lib/arrow/session/filestore.rb', line 105

def retrieve
  super {
    self.log.debug "Reading data in session file"
    ofh = self.open( File::RDWR )
    ofh.seek( 0, File::SEEK_SET )
    ofh.read
  }
end