rspec-expectations

https://github.com/rspec/rspec-expectations

Ruby

Provides a readable API to express expected outcomes of a code example

RSpec::Matchers::BuiltIn::CaptureStderr#as_tty=

No Docs, write some!

Source | Google | Stack overflow

Edit

git clone [email protected]:rspec/rspec-expectations.git

cd rspec-expectations

open lib/rspec/matchers/built_in/output.rb

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-RSpec--Matchers--BuiltIn--CaptureStderr-as_tty--for-pr


# Commit to git

git add lib/rspec/matchers/built_in/output.rbgit commit -m "better docs for RSpec::Matchers::BuiltIn::CaptureStderr#as_tty="


# Open pull request

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

hub fork

git push <your name> -your-name--update-docs-RSpec--Matchers--BuiltIn--CaptureStderr-as_tty--for-pr

hub pull-request


# Celebrate!