method

restore

v1_8_7_330 - Show latest stable - Class: Marshal
restore(...)
public

Returns the result of converting the serialized data in source into a Ruby object (possibly with associated subordinate objects). source may be either an instance of IO or an object that responds to to_str. If proc is specified, it will be passed each object as it is deserialized.