123456789_123456789_123456789_123456789_123456789_

Class: ActiveModel::Attribute::WithCastValue

Do not use. This class is for internal use only.
Relationships & Source Files
Super Chains via Extension / Inclusion / Inheritance
Class Chain:
Instance Chain:
Inherits: ActiveModel::Attribute
Defined in: activemodel/lib/active_model/attribute.rb

Class Method Summary

::ActiveModel::Attribute - Inherited

.from_database, .from_user,
.new

This method should not be called directly.

.null, .uninitialized, .with_cast_value

Instance Attribute Summary

Instance Method Summary

Constructor Details

This class inherits a constructor from ActiveModel::Attribute

Instance Attribute Details

#changed_in_place?Boolean (readonly)

[ GitHub ]

  
# File 'activemodel/lib/active_model/attribute.rb', line 217

def changed_in_place?
  false
end

Instance Method Details

#type_cast(value)

[ GitHub ]

  
# File 'activemodel/lib/active_model/attribute.rb', line 213

def type_cast(value)
  value
end