1
0
Fork 0
mirror of https://github.com/aasm/aasm synced 2023-03-27 23:22:41 -04:00

Update README.md

This commit is contained in:
Chris Maddox 2014-07-21 16:49:46 -07:00
parent 8a8cba0efe
commit 8931270c11

View file

@ -147,7 +147,7 @@ Also, you can pass parameters to events:
job.run(:running, :defragmentation)
```
In this case the `set_process` would be called with `:defagmentation` argument.
In this case the `set_process` would be called with `:defragmentation` argument.
In case of an error during the event processing the error is rescued and passed to `:error`
callback, which can handle it or re-raise it for further propagation.