Controlling superclass argument pass-through in Ruby

In Ruby class-based programming, superclass versions of subclass methods are always invoked explicitly using the super keyword. There are some nuances to using super though, particularly when it comes to passing (or not passing) arguments and blocks along to the base class. In this sample from from the RubyTapas archives, we’ll talk about some of those “gotchas”.Director’s commentary: This was originally published as RubyTapas .
Controlling superclass argument pass-through in Ruby #ruby #rubydeveloper #rubyonrails https://rubyonrails.ba/single/controlling-superclass-argument-pass-through-in-ruby

Nezir Zahirovic

Contractor Ruby On Rails (8+ years) / MCPD .Net / C# / Asp.Net / CSS / SQL / (11 years)

related articles