class Value
Ruby on Rails 7.2.3
Since v5.2.8.1Active Model Value Type
The base class for all attribute types. This class also serves as the default type for attributes that do not specify a type.
Inherits from
Includes
Attributes
Methods (defined here)
- # ==
- # as_json
- # assert_valid_value
- # cast
- # changed?
- # changed_in_place?
- # deserialize
- # eql?
- # hash
- # serializable?
- # serialize
- # type
- self. new
Private methods
(1)
Implementation detail — not part of the public API.
Used by
Subclasses (2)
Methods (inherited)
From Object (17)
- # acts_like?
- # blank?
- # deep_dup
- # duplicable?
- # html_safe?
- # in?
- # instance_values
- # instance_variable_names
- # presence
- # presence_in
- # present?
- # to_param
- # to_query
- # try
- # try!
- # with
- # with_options
From ActiveSupport::NumericWithFormat (2)
- # to_formatted_s
- # to_fs