What Kagemusha is a library of helper functions for testing Ruby scripts. It helps you generating scoped mock-objects which overrides behavior of the class restricted in given blocks, without tainting a global area. Installing # gem install kagemusha The basics Demonstration of usage License This code is free to use under the terms of Ruby’s license. Contact Comments are welcome. Send an email to