class Bundler::Thor::Actions::EmptyDirectory
def destination=(destination)
given_destination #=> baz
relative_destination #=> bar/baz
destination #=> dest/bar/baz
end
empty_directory "baz"
inside "bar" do
are related in the following way:
"dest". The destination, given_destination and relative_destination
script is being executed on "dest", it sets the destination root to
It also stores the given and relative destination. Let's suppose our
Sets the absolute destination value from a relative destination value.
def destination=(destination) if destination @given_destination = convert_encoded_instructions(destination.to_s) @destination = ::File.expand_path(@given_destination, base.destination_root) @relative_destination = base.relative_to_original_destination_root(@destination) end end