Method deprecated or moved
This method is deprecated or moved on the latest stable version.
The last existing version (v7.0.0) is shown here.
generator(args = default_arguments, options = {}, config = {})
public
# File railties/lib/rails/generators/testing/behaviour.rb, line 77
def generator(args = default_arguments, options = {}, config = {})
@generator ||= generator_class.new(args, options, config.reverse_merge(destination_root: destination_root))
end