Class: DMap::Validations::AbsenceOf

Inherits:
Object
  • Object
show all
Defined in:
lib/dmap/validations/absence.rb

Direct Known Subclasses

Absence, Absent

Class Method Summary collapse

Class Method Details

.parent_nameObject



4
5
6
# File 'lib/dmap/validations/absence.rb', line 4

def self.parent_name
  "AbsenceOf"
end

.validate(command = nil) ⇒ Object



8
9
10
# File 'lib/dmap/validations/absence.rb', line 8

def self.validate(command=nil)
  {:null => true}
end