← Graph

Method References in Ruby

concept 1 connections

Ongoing Ruby community discussion about a nicer syntax for referencing methods (vs. `method(:symbol)`), triggered by Elixir's pipe operator and raised on the Ruby tracker and blog posts. The `methods` gem provides one implementation: reference public methods of other objects and private methods of self, with support for pre-applying parameters, carrying keyword arguments, and carrying blocks, while intentionally disallowing referencing private methods on another object.

category
pattern
about
Method References in Ruby concept
Context on community efforts for method reference syntax.

Provenance

Created in
Wroclove.rb 2018 — Lightning Talks 2026-04-17 16:18
Read by
15 extractions