Hash of fields to store.
Any field name beginning with ‘decrypted_’ automatically creates a counterpart ‘encrypted_’ field using the encrypt_pass.
@private
Incorporates the given settings. alias for deep_merge! Existing values not given in the hash
@param hsh the defaults to set.
@example
Settings.defaults :hat => :cat, :basket => :lotion, :moon => { :man => :smiling } Settings.defaults :basket => :tasket, :moon => { :cow => :smiling } Config #=> { :hat => :cat, :basket => :tasket, :moon => { :man => :smiling, :cow => :jumping } }
@return self
# File lib/configliere/param.rb, line 46 def defaults hsh deep_merge! hsh self end
# File lib/configliere/param.rb, line 85 def extractable_options? true end
Finalize and validate params. All include’d modules and subclasses must call super() @return self
# File lib/configliere/param.rb, line 53 def resolve! super() validate! self end
Generated with the Darkfish Rdoc Generator 2.