A Key is used to uniquely identify a validation rule.

Methods
Attributes
[R] field
[R] validation
Public Class methods
new(validation, field)
     # File lib/glue/validation.rb, line 134
134:     def initialize(validation, field)
135:       @validation, @field = validation.to_s, field.to_s
136:     end
Public Instance methods
==(other)
     # File lib/glue/validation.rb, line 142
142:     def ==(other)
143:       self.validation == other.validation and self.field == other.field
144:     end
hash()
     # File lib/glue/validation.rb, line 138
138:     def hash
139:       "#{@validation}-#{@field}".hash
140:     end