How You Nest Modules Matters in Ruby
Ruby provides two different syntaxes to nest modules (and classes), and most Rubyists treat those syntaxes as interchangeable when they shouldn’t. Find out why the syntaxes are not interchangeable.
Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!
Ruby provides two different syntaxes to nest modules (and classes), and most Rubyists treat those syntaxes as interchangeable when they shouldn’t. Find out why the syntaxes are not interchangeable.
Post a comment