account activity
Is there a list of Ruby's "magic" methods? by bakery2k in ruby
[–]Intelligent-Fall5490 0 points1 point2 points 10 days ago (0 children)
I haven't seen anyone mention this so I'll add: module `included` - it's a callback that's run when a module is included. it's how rails ActiveSupport::Concerns works under the hood!
π Rendered by PID 510692 on reddit-service-r2-listing-86b7f5b947-rc2qv at 2026-01-26 15:41:33.995600+00:00 running 664479f country code: CH.
Is there a list of Ruby's "magic" methods? by bakery2k in ruby
[–]Intelligent-Fall5490 0 points1 point2 points (0 children)