ActiveModel::Serialization
Instance methods
as_json
serializable_hash
Macros
serialize_method(*names)
Compile-time dispatch table: each call chains onto the previous definition via previous_def (first-use guard plants the raising base — macro finished does not run for including classes).