1
0
Fork 0
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:
Rafael Santos 2016-04-28 11:49:13 -03:00
parent 0dd67f6543
commit 066b5275c7

View file

@ -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.