@private
# File lib/shoulda/matchers/active_model/numericality_matchers/odd_number_matcher.rb, line 9 def initialize(attribute, options = {}) @attribute = attribute @disallow_value_matcher = DisallowValueMatcher.new(NON_ODD_NUMBER_VALUE). for(@attribute). with_message(:odd) end
Generated with the Darkfish Rdoc Generator 2.