Method: Rails::Generators::Testing::Behavior::ClassMethods#destination

Defined in:
railties/lib/rails/generators/testing/behavior.rb

#destination(path) ⇒ Object

Sets the destination of generator files:

destination File.expand_path("../tmp", __dir__)


46
47
48
# File 'railties/lib/rails/generators/testing/behavior.rb', line 46

def destination(path)
  self.destination_root = path
end