Registry / utility / durran-validatable

durran-validatable

JSON →
library2.0.1rbrubygemsunverified

A library for adding validations to Ruby objects.

gem install durran-validatable
INSTALL
IMPORT
SIG · DURRAN-VALIDATABLE
D
durran-validatable
utilityrubyv2.0.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Validatable
require 'validatable'

Define a model with a presence validation.

require 'validatable' class Person include Validatable validates_presence_of :name end person = Person.new person.valid? # => false
Debug
Known issues

No known issues recorded.

Upgrade
Version history
2.0.1latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
7 hits · last 30 days
node
6
Amazon
1
Resources
durran-validatable — gem install durran-validatable · libregistry