https://fili.pp.ru/leaky-constants.html
25-Jul-2019 1539
It took me by surprise when I realized that any constant declared in a block body is defined as a top-level constant.Yes, you've heard it correctly.
https://fili.pp.ru/leaky-constants.html #ruby #rubydeveloper #rubyonrails #https://fili.pp.ru/leaky-constants.html https://rubyonrails.ba/link/https-fili-pp-ru-leaky-constants-html