mirror of
https://github.com/aasm/aasm
synced 2023-03-27 23:22:41 -04:00
commit
df5841f39d
1 changed files with 1 additions and 1 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Reference in a new issue