artifice icon indicating copy to clipboard operation
artifice copied to clipboard

Added support for reactivation

Open theconektd opened this issue 12 years ago • 1 comments

I added an Artifice.reactivate method. It supports the same style as activate_with, but just mounts the last used endpoint.

It may seem hard to justify, but this is actually really useful for (ahem) "a special case" we're dealing with in one of our suites and I suspect it could be useful for others as well.

theconektd avatar Sep 21 '11 16:09 theconektd

I've gone back and forth on this one and I think I still like it. At the end of the day, it's easy to dig your last endpoint out of Artifice and just bolt it back on, but this approach doesn't require the user to have any knowledge of the internals.

I'm wondering if there should be a Artifice.previously_activated? method. Thoughts?

theconektd avatar Sep 23 '11 17:09 theconektd