From 3680e6041e63bb74ccf5b5895ebb2e40647a1bc5 Mon Sep 17 00:00:00 2001 From: Norberto Oliveira Junior Date: Wed, 31 Mar 2021 00:29:16 -0300 Subject: [PATCH] Update README --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 6fd34fe..2d09694 100644 --- a/README.md +++ b/README.md @@ -63,7 +63,7 @@ So let's change its state to `unlocked` and `opened` ```elixir iex> {:ok, door_unlocked} = Door.transit(door_locked, event: "unlock") {:ok, %Door{state: :unlocked}} -iex> {:ok, door} = Door.transit(door_unlocked, event: "open") +iex> {:ok, door_opened} = Door.transit(door_unlocked, event: "open") {:ok, %Door{state: :opened}} ```