method

destination=

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