Module: OM::XML::Validation

Defined in:
lib/om/xml/validation.rb

Defined Under Namespace

Modules: ClassMethods

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.included(klass) ⇒ Object

Instance Methods – These methods will be available on instances of classes that include this module



55
56
57
# File 'lib/om/xml/validation.rb', line 55

def self.included(klass)
  klass.extend(ClassMethods)
end

Instance Method Details

#validateObject



59
60
61
# File 'lib/om/xml/validation.rb', line 59

def validate
  self.class.validate(self)
end