thor

https://github.com/rails/thor

Ruby

Thor is a toolkit for building powerful command-line interfaces.

Thor::Actions::InjectIntoFile#replacement_present?

No Docs, write some!

Source | Google | Stack overflow

Edit

git clone [email protected]:rails/thor.git

cd thor

open lib/thor/actions/inject_into_file.rb

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-Thor--Actions--InjectIntoFile-replacement_present--for-pr


# Commit to git

git add lib/thor/actions/inject_into_file.rbgit commit -m "better docs for Thor::Actions::InjectIntoFile#replacement_present?"


# Open pull request

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

hub fork

git push <your name> -your-name--update-docs-Thor--Actions--InjectIntoFile-replacement_present--for-pr

hub pull-request


# Celebrate!