Send Variations

Episode 622 · April 27, 2020

Sometimes you need to invoke a method whose name you won’t know until runtime. In this episode, you’ll learn the differences between #send, #public_send, and #__send__, gotchas of using them, and when to use each one.

Watch this episode with Graceful.Dev Pro, or in one of the courses below. Already a member? Log in.

Appears in

Tags: , ,

Responses