class DomainModel::Validator
Attributes
field[R]
Public Class Methods
errors(field, value)
click to toggle source
# File lib/domain_model.rb, line 296 def self.errors(field, value) validator = field.collection? ? Collection : Scalar validator.new(field, value).errors end
Private Instance Methods
types()
click to toggle source
# File lib/domain_model.rb, line 305 def types field.types end