This is idiomatic Ruby syntax, and anyone familiar with the language knows what that code does
event :ignite do
transition stalled: same, parked: :idling
end
You have to be familiar with the DSL, not Ruby.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.