method

define_optimized_call

Importance_1
Ruby on Rails latest stable (v7.1.3.2) - 0 notes - Class: ActiveModel::AttributeMethods::ClassMethods

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v3.2.13) is shown here.

define_optimized_call(mod, name, send, *extra) private

Define a method `name` in `mod` that dispatches to `send` using the given `extra` args. This fallbacks `define_method` and `send` if the given names cannot be compiled.

Show source
Register or log in to add new notes.