mirror of
https://github.com/aasm/aasm
synced 2023-03-27 23:22:41 -04:00
Fix Ruby syntax highlighting
This commit is contained in:
parent
0dd67f6543
commit
066b5275c7
1 changed files with 1 additions and 1 deletions
|
@ -151,7 +151,7 @@ is finished.
|
|||
|
||||
AASM will also initialize `LogRunTime` and run the `call` method for you after the transition from `running` to `finished` in the example above. You can pass arguments to the class by defining an initialize method on it, like this:
|
||||
|
||||
```
|
||||
```ruby
|
||||
class LogRunTime
|
||||
# optional args parameter can be omitted, but if you define initialize
|
||||
# you must accept the model instance as the first parameter to it.
|
||||
|
|
Loading…
Add table
Reference in a new issue