module DMap::Associations
Attributes
list[RW]
Public Class Methods
add(field, validation, bucket, value)
click to toggle source
validates_*_of
# File lib/dmap/associations/core.rb, line 11 def add(field, validation, bucket, value) list[field][validation].store bucket, value unless value.nil? end
list()
click to toggle source
# File lib/dmap/associations/core.rb, line 6 def list @list ||= OrderedHash.auto end