method

new

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v6.0.0) is shown here.

new(attributes)
public

No documentation available.

# File activemodel/lib/active_model/validations/acceptance.rb, line 45
          def initialize(attributes)
            @attributes = attributes.map(&:to_s)
          end