chef
https://github.com/opscode/chef
Ruby
A systems integration framework, built to bring the benefits of configuration management to your entire infrastructure.
ReservedNames::Win32::API#safe_attach_function
Attempts to use FFI's attach_function method to link a native Win32 function into the calling module. If this fails a dummy method is defined which when called, raises a helpful exception to the end-user.
Edit
git clone [email protected]:opscode/chef.git
cd chef
open lib/chef/win32/api.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-ReservedNames--Win32--API-safe_attach_function-for-pr
# Commit to gitgit add lib/chef/win32/api.rbgit commit -m "better docs for ReservedNames::Win32::API#safe_attach_function"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-ReservedNames--Win32--API-safe_attach_function-for-pr
hub pull-request
# Celebrate!