assert_boolean(result, name) private

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activemodel/lib/active_model/lint.rb, line 112
        def assert_boolean(result, name)
          assert result == true || result == false, "#{name} should be a boolean"
        end
Register or log in to add new notes.