method

define_optimized_call

Importance_1
v3.2.8 - Show latest stable - 0 notes - Class: ActiveModel::AttributeMethods::ClassMethods
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.