vagrant

https://github.com/mitchellh/vagrant

Ruby

Vagrant is a tool for building and distributing development environments.

Vagrant::Util::ANSIEscapeCodeRemover#remove_ansi_escape_codes

Removes ANSI escape code sequences from the text and returns
it.

This removes all the ANSI escape codes listed here along with
the escape codes for VT100 terminals:

http://ascii-table.com/ansi-escape-sequences.php

Source | Google | Stack overflow

Edit

git clone [email protected]:mitchellh/vagrant.git

cd vagrant

open lib/vagrant/util/ansi_escape_code_remover.rb

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-Vagrant--Util--ANSIEscapeCodeRemover-remove_ansi_escape_codes-for-pr


# Commit to git

git add lib/vagrant/util/ansi_escape_code_remover.rbgit commit -m "better docs for Vagrant::Util::ANSIEscapeCodeRemover#remove_ansi_escape_codes"


# Open pull request

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

hub fork

git push <your name> -your-name--update-docs-Vagrant--Util--ANSIEscapeCodeRemover-remove_ansi_escape_codes-for-pr

hub pull-request


# Celebrate!