Ruby constant lookup: compact style vs. explicit nesting
08-Jul-2022 1043
Recently, a colleague of mine decided that it was time to refactor some parts of our (Rails-) codebase. In particular, he used the autocorrect feature of rubocop to switch from qualified constant definitions (aka. compact style) to explicit nesting:.
Ruby constant lookup: compact style vs. explicit nesting #ruby #rubydeveloper #rubyonrails #constant #lookup: #compact #style #explicit #nesting https://rubyonrails.ba/link/ruby-constant-lookup-compact-style-vs-explicit-nesting