Scope Gates in Ruby: modules & nesting
When we use the module
keyword:
- The value of
self
changes - The content of the module is embedded in an isolated scope
- SEE MORE
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!
When we use the module
keyword:
self
changes
Post a comment