Lexical scoping and Ruby class variables
In this post we’ll discuss some non-obvious behavior of class variables and show how it’s all the fault of lexical scoping. http://blog.honeybadger.io/lexical-scoping-and-ruby-class-variables/
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!
In this post we’ll discuss some non-obvious behavior of class variables and show how it’s all the fault of lexical scoping. http://blog.honeybadger.io/lexical-scoping-and-ruby-class-variables/
Post a comment