745b317e12
Previously, it turns out that this wasn't possible, which made refactoring code that used Docile to extract common helper methods, and re-use them in different blocks, a painful experience. This change should make it possible to extract methods from blocks into the context around the block, and have those extracted helper methods still able to call methods on the DSL object. |
||
---|---|---|
.. | ||
docile_spec.rb | ||
spec_helper.rb |