Module: Validation

Defined in:
lib/validation.rb,
lib/validation/errors.rb,
lib/validation/version.rb,
lib/validation/adjustment.rb,
lib/validation/validatable.rb,
lib/validation/singleton_class.rb,
lib/validation/module_functions.rb,
lib/validation/validatable/classmethods.rb

Defined Under Namespace

Modules: Adjustment, Validatable Classes: InvalidAdjustingError, InvalidError, InvalidReadingError, InvalidWritingError

Constant Summary collapse

VERSION =
'0.3.0'

Class Method Summary collapse

Class Method Details

.adjustable?(object) ⇒ Boolean

Returns:

  • (Boolean)


7
8
9
# File 'lib/validation/module_functions.rb', line 7

def adjustable?(object)
  Adjustment.__send__(__callee__, object)
end