method

apply

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.

apply(path, config = {})
public

Loads an external file and execute it in the instance binding.

Parameters

path

The path to the file to execute. Can be a web address or a relative path from the source root.

Examples

apply "http://gist.github.com/103208"

apply "recipes/jquery.rb"