lib/rets/metadata/file_cache.rb
# Load the metadata.  Should yield an IO-like object to a block;
# that block will deserialize the metadata from that object and
# return the metadata.  Returns the metadata, or nil if it could
# not be loaded.
Load the metadata.  Should yield an IO-like object to a block;
that block will deserialize the metadata from that object and
return the metadata.  Returns the metadata, or nil if it could
not be loaded.
Load the metadata . Should yield an IO - like object to a block ; that block will deserialize the metadata from that object and return the metadata . Returns the metadata or nil if it could not be loaded .
def load(&block)
        File.open(@path, "rb", &block)
      rescue IOError, SystemCallError
        nil
      end
def load ( & block ) File . open ( @path , "rb" , & block ) rescue IOError , SystemCallError nil end
Load the metadata.
Load the metadata .
block