@private
# File lib/shoulda/matchers/active_model/numericality_matchers/only_integer_matcher.rb, line 8 def initialize(attribute) @attribute = attribute @disallow_value_matcher = DisallowValueMatcher.new(NON_INTEGER_VALUE). for(attribute). with_message(:not_an_integer) end
Generated with the Darkfish Rdoc Generator 2.