railsdog/deface — pull request #46 by robertoles (2012-05-28 11:57:24+00:00)
Title: Custom Actions (part deux)

Hi, I have added in Parenthesise for method names, and moved over all range selection code to the range matcher class. I want to work on moving / writing specs next, I wanted your opinion on testing the environment class for existing actions. Currently an array of existing actions is created when instantiating the environment class. For some reason this doesn't feel right to me, I wondered if it would be worth calling env.register_action(Deface::Actions::Remove) etc etc for each action in an initialiser?