Traits and partial classes for Ruby

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 #classes https://rubyonrails.ba/single/traits-and-partial-classes-for-ruby

Nezir Zahirovic

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

related articles