method

destination=

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

Method not available on this version

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

destination=(destination)
protected

Sets the absolute destination value from a relative destination value. It also stores the given and relative destination. Let’s suppose our script is being executed on “dest”, it sets the destination root to “dest”. The destination, given_destination and relative_destination are related in the following way:

inside "bar" do
  empty_directory "baz"
end

destination          #=> dest/bar/baz
relative_destination #=> bar/baz
given_destination    #=> baz