aasm

https://github.com/aasm/aasm

Ruby

AASM - State machines for Ruby classes (plain Ruby, ActiveRecord, Mongoid, NoBrainer, Dynamoid)

AASM::InstanceBase#event_method_name

No Docs, write some!

Source | Google | Stack overflow

Edit

git clone [email protected]:aasm/aasm.git

cd aasm

open lib/aasm/instance_base.rb

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-AASM--InstanceBase-event_method_name-for-pr


# Commit to git

git add lib/aasm/instance_base.rbgit commit -m "better docs for AASM::InstanceBase#event_method_name"


# Open pull request

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

hub fork

git push <your name> -your-name--update-docs-AASM--InstanceBase-event_method_name-for-pr

hub pull-request


# Celebrate!