Traits and partial classes for Ruby
26-Aug-2021 1866
Modularity enhances Ruby's Module so it can be used traits and partial classes. This allows very simple definition of meta-programming macros like the has_many that you know from Rails.Modularity also lets you organize large models into multiple source files in a way that is less awkward than using modules.
Traits and partial classes for Ruby #ruby #rubydeveloper #rubyonrails #Traits #partial #classes #classes https://rubyonrails.ba/link/traits-and-partial-classes-for-ruby