load

load( source [, proc] ) â obj
Class Public methods

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.

Never pass untrusted data (including user supplied input) to this method. Please see the overview for further details.

doc_ruby_on_rails
2015-04-17 23:00:29
Comments
Leave a Comment

Please login to continue.