method
marshal_load
v5.2.3 -
Show latest stable
- Class:
ActiveModel::Attribute::UserProvidedDefault
marshal_load(values)public
No documentation available.
# 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