chef

https://github.com/opscode/chef

Ruby

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

Chef::EventDispatch::EventsOutputStream#initialize

This is a fake stream that connects to events.

== Arguments
events: the EventDispatch object to send data to (run_context.events)
options is a hash with these possible options:
- name: a string that identifies the stream to the user. Preferably short.

Source | Google | Stack overflow

Edit

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

cd chef

open lib/chef/event_dispatch/events_output_stream.rb

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-Chef--EventDispatch--EventsOutputStream-initialize-for-pr


# Commit to git

git add lib/chef/event_dispatch/events_output_stream.rbgit commit -m "better docs for Chef::EventDispatch::EventsOutputStream#initialize"


# 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--EventDispatch--EventsOutputStream-initialize-for-pr

hub pull-request


# Celebrate!