Method: ActiveRecord::AttributeMethods::Serialization::Attribute#state

Defined in:
lib/active_record/attribute_methods/serialization.rb

#stateObject

Returns the value of attribute state

Returns:

  • (Object)

    the current value of state



13
14
15
# File 'lib/active_record/attribute_methods/serialization.rb', line 13

def state
  @state
end