lib/cocoapods/installer/migrator.rb
# Moves a path to another one printing an UI message.
#
# @path [#to_s] source
#       The path to move.
#
# @path [#to_s] destination
#       The destination path.
#
# @return [void]
#
Moves a path to another one printing an UI message.
Moves a path to another one printing an UI message .
def move(source, destination)
          return unless source.exist?
          make_path(destination.dirname)
          UI.message "- Moving #{UI.path(source)} to #{UI.path(destination)}" do
            FileUtils.mv(source.to_s, destination.to_s)
          end
        end
def move ( source , destination ) return unless source . exist? make_path ( destination . dirname ) UI . message "- Moving #{UI.path(source)} to #{UI.path(destination)}" do FileUtils . mv ( source . to_s , destination . to_s ) end end
Moves a path to another one printing an UI message.
Moves a path to another one printing an UI message .
None
void
source
destination
path
[#to_s] source The path to move.
[ #to_s ] source The path to move .
path
[#to_s] destination The destination path.
[ #to_s ] destination The destination path .