Metaprogramming in Ruby
in Code Code, Ruby, Metaprogramming
Recently, I developed a configuration DSL that would populate a database. I found myself writing a lot of repetitive code to handle the DSL syntax, and thought that this would be a good case to programatically generate the methods.
Read more →