RubyFlow The Ruby and Rails community linklog

Delegating Methods In Ruby With Forwardable

Are you working in a Ruby project and need to delegate methods but you don’t want to add a new gem just to do that? The Forwardable module is your answer and Ronney shows how you can use it with a practical example.

https://goiabada.blog/delegating-methods-in-ruby-with-forwardable-ee2b86a6be32

Post a comment

You can use basic HTML markup (e.g. <a>) or Markdown.

As you are not logged in, you will be
directed via GitHub to signup or sign in