These methods can be used by Storable objects as custom field processors.
e.g.
class A < Storable field :name => String, &hash_proc_processor end
If the object already has a value for +@id+ use it, otherwise return the current digest.
This allows an object to have a preset ID.
# File lib/storable.rb, line 543 def gibbler_id_processor Proc.new do |val| @id || self.gibbler end end
Generated with the Darkfish Rdoc Generator 2.