Sha256: 719e80cd1f0940d29a685d2f36b5f012e5b0c23e84c2538dd86abc3ceee1ba44

Contents?: true

Size: 392 Bytes

Versions: 1

Compression:

Stored size: 392 Bytes

Contents

require 'delegate'

module Doctors
  module Validations

    delegate :validate,              to: :form_object
    delegate :validates,             to: :form_object
    delegate :validates!,            to: :form_object
    delegate :validates_each,        to: :form_object
    delegate :validates_with,        to: :form_object
    delegate :validates_presence_of, to: :form_object
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
doctors-0.0.1 lib/doctors/validations.rb