Module: Knight::InstanceMethods::ClassMethods

Defined in:
lib/knight/instance_methods.rb

Instance Method Summary collapse

Instance Method Details

#validatorValidator

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Return the validator object

Returns:



64
65
66
# File 'lib/knight/instance_methods.rb', line 64

def validator
  @validator = @validator || Validator.new
end