method

marshal_load

Importance_0
v5.2.3 - Show latest stable - 0 notes - Class: UserProvidedDefault
marshal_load(values) 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 36
      def marshal_load(values)
        name, user_provided_value, type, original_attribute, value = values
        @name = name
        @user_provided_value = user_provided_value
        @type = type
        @original_attribute = original_attribute
        if values.length == 5
          @value = value
        end
      end
Register or log in to add new notes.