fredwu/ruby_decorators — pull request #1 by simeonwillbanks (2012-09-19 03:15:41+00:00)
Title: Refactor setting a method's decorators by removing Magic Number and cloning then clearing the Stack

Per our [Twitter conversation](https://twitter.com/simeonwillbanks/status/247403716905402368), [`42`](https://github.com/fredwu/ruby_decorators/blob/master/lib/ruby_decorators.rb#L20) is a [Magic Number](http://en.wikipedia.org/wiki/Magic_number_(programming\)). Obviously, this isn't the meat of the gem, and it makes sense to take the simplest path. That said, I wanted to help by refactoring the source to show its intent. I think cloning and clearing the `Stack` is more clear. What do you think?

Thanks,
Simeon