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

Merge pull request #155 from tyre/patch-1

Update README.md
This commit is contained in:
Thorsten Böttger 2014-07-24 19:12:56 +02:00
commit df5841f39d

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.