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:
self, Attribute
Instance Chain:
self, Attribute
Inherits: Attribute
  • ::Object
Defined in: activemodel/lib/active_model/attribute.rb

Instance Attribute Summary

Instance Method Summary

Instance Attribute Details

#changed_in_place?Boolean (readonly)

[ GitHub ]

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

def changed_in_place?
  false
end

Instance Method Details

#type_cast(value)

[ GitHub ]

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

def type_cast(value)
  value
end