Sha256: 67ccd1d70c95ae8405e60296968ae4ebbd642ce570ce5a65c77c3e4fe5df37b0
Contents?: true
Size: 261 Bytes
Versions: 2
Compression:
Stored size: 261 Bytes
Contents
module SimpleValidate class ValidatesBase attr_accessor :message, :attribute, :condition def initialize(attribute, message, condition) self.message = message self.attribute = attribute self.condition = condition end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
simple_validate-1.2.2 | lib/simple_validate/validates_base.rb |
simple_validate-1.1.2 | lib/simple_validate/validates_base.rb |