Set default values if they are not already set by the hash provided to initialize.
# File lib/sequel/plugins/defaults_setter.rb, line 51 51: def initialize_set(h) 52: super 53: model.default_values.each{|k,v| self[k] = (v.respond_to?(:call) ? v.call : v) unless values.has_key?(k)} 54: end
Disabled; run with --debug to generate this.
Generated with the Darkfish Rdoc Generator 1.1.6.