Module: RelaxDB::Validators

Included in:
Document
Defined in:
lib/relaxdb/validators.rb

Instance Method Summary collapse

Instance Method Details

#validator_required(att, o) ⇒ Object



5
6
7
# File 'lib/relaxdb/validators.rb', line 5

def validator_required(att, o)
  !att.blank?
end