chef

https://github.com/opscode/chef

Ruby

A systems integration framework, built to bring the benefits of configuration management to your entire infrastructure.

Chef::FileCache.move_to

Move a file into the cache.  Useful with the REST raw file output.

=== Parameters
file<String>:: The path to the file you want in the cache
path<String>:: The relative name you want the new file to use

Source | Google | Stack overflow

Edit

git clone [email protected]:opscode/chef.git

cd chef

open lib/chef/file_cache.rb

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-Chef--FileCache-move_to-for-pr


# Commit to git

git add lib/chef/file_cache.rbgit commit -m "better docs for Chef::FileCache.move_to"


# Open pull request

gem install hub # on a mac you can `brew install hub`

hub fork

git push <your name> -your-name--update-docs-Chef--FileCache-move_to-for-pr

hub pull-request


# Celebrate!