Archive for March, 2011
Reopening modules in Ruby
Open class definitions in ruby allow libraries to add functionality to existing objects. Standard practice is to define a module with the new functionality and include it into the existing class ( Jay fields on the subject here ). Unfortunately this model breaks when you want to update a module.
Read more
Why class variables in Ruby are a bad idea
In ruby, there are instance variables and class variables. Class variables may not work the way you think… Read more
No comments