Ruby's Hidden Gems: Delegator and Forwardable

In today's exploration of Ruby's standard library, we're going to look at delegation through Ruby's Delegator and Forwardable classes.Delegation refers to evaluating a member (property or method) of one object (the receiver) in the context of another original object (the sender). Delegation can be done explicitly, by passing the sending object to the receiving object, which can be done in any object-oriented language.
Ruby's Hidden Gems: Delegator and Forwardable #ruby #rails #rubyonrails #bosnia #programming #tutorials #rubydeveloper #railsdeveloper

Nezir Zahirovic

Freelance software developer Ruby On Rails (4 years) / MCPD .Net / C# / Asp.Net / CSS / SQL / (11 years)

related articles