Sha256: 80281e80c38e732f9d4d1e8204bd5b06d2f5ba572bdc09613ca1c12530311fa3

Contents?: true

Size: 260 Bytes

Versions: 4

Compression:

Stored size: 260 Bytes

Contents

class ValidationAssertion
  attr_accessor :klass, :validation_type, :options, :attribute
  
  def initialize(klass, validation_type, attribute)
    self.klass, self.validation_type, self.attribute, self.options = klass, validation_type, attribute, {}
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
validatable-1.3.4 lib/validation_assertion.rb
validatable-1.3.2 lib/validation_assertion.rb
validatable-1.3.0 lib/validation_assertion.rb
validatable-1.4.0 lib/validation_assertion.rb