Method: PEROBS::ObjectBase#restore
- Defined in:
- lib/perobs/ObjectBase.rb
#restore ⇒ Object
This method can be overloaded by derived classes to do some massaging on the data after it has been restored from the database. This could either be some sanity check or code to migrate the object from one version to another. It is also the right place to initialize non-persistent instance variables as initialize() will only be called when objects are created for the first time.
158 159 |
# File 'lib/perobs/ObjectBase.rb', line 158 def restore end |