method

new

Importance_0
Ruby on Rails latest stable (v7.1.3.2) - 0 notes - Class: EnumType
new(name, mapping, subtype, raise_on_invalid_values: true) public

No documentation

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

Hide source
# File activerecord/lib/active_record/enum.rb, line 173
      def initialize(name, mapping, subtype, raise_on_invalid_values: true)
        @name = name
        @mapping = mapping
        @subtype = subtype
        @_raise_on_invalid_values = raise_on_invalid_values
      end
Register or log in to add new notes.