method

create_link

ruby latest stable - Class: Bundler::Thor::Actions

Method not available on this version

This method is only available on newer versions. The first available version (v2_6_3) is shown here.

create_link(destination, *args)
public

Create a new file relative to the destination root from the given source.

Parameters

destination

the relative path to the destination root.

source<String|NilClass>

the relative path to the source root.

config

give :verbose => false to not log the status.

give :symbolic => false for hard link.

Examples

create_link "config/apache.conf", "/etc/apache.conf"