method

with_type

Importance_0
v7.1.3.2 - Show latest stable - 0 notes - Class: UserProvidedDefault
with_type(type) public

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/attribute/user_provided_default.rb, line 25
      def with_type(type)
        self.class.new(name, user_provided_value, type, original_attribute)
      end
Register or log in to add new notes.