It's generally good practice to read a library's documentation to understand how to use it - there's not really a short cut to that, regardless of the language.
As for the syntax, you know that `event` is a method, passed the param `:ignite` and a block, and in that block, you call the method `transition` with kwargs `{stalled: same, parked: :idling}`, and `same` is another method call.