method

destination

rails latest stable - Class: Rails::Generators::TestCase

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v3.2.13) is shown here.

destination(path)
public

Sets the destination of generator files:

destination File.expand_path("../tmp", File.dirname(__FILE__))