Defining Private Methods Inside Ruby Class Methods
24-Dec-2022 1010
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 #Defining #Private #Methods #Inside #Class #Methods #class https://rubyonrails.ba/link/defining-private-methods-inside-ruby-class-methods