Defining Private Methods Inside Ruby Class Methods

A recent ruby upgrade exposed a flawed attempt to set some dynamically defined methods as private. In this post I will present a bare-bones example to recreate the problem, and demonstrate how the issue can be resolved.
Defining Private Methods Inside Ruby Class Methods #ruby #rubydeveloper #rubyonrails #class https://rubyonrails.ba/single/defining-private-methods-inside-ruby-class-methods

Nezir Zahirovic

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

related articles