Sha256: 214a10684e1042e5757a495fbfc865d545c04e8c6d53ac520c93b46ca9a6f03b
Contents?: true
Size: 376 Bytes
Versions: 1
Compression:
Stored size: 376 Bytes
Contents
require "scrivener/validations" module Ohm module Validations include Scrivener::Validations module Callbacks def valid? before_validation result = super after_validation result end protected def before_validation end def after_validation end end include Callbacks end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ohm-validations-0.0.1 | lib/ohm/validations.rb |