Browse files

Document the initial state

  • Loading branch information...
geekq committed Apr 26, 2011
1 parent b0f3abd commit 0985965464c0440f30b7bf5bc931030f1b86b74c
Showing with 4 additions and 0 deletions.
  1. +4 −0 README.markdown
@@ -48,6 +48,10 @@ Here is the expression of this workflow using the API:
Nice, isn't it!
+Note: the first state in the definition (`:new` in the example, but you
+can name it as you wish) is used as the initial state - newly created
+objects start their life cycle in that state.
Let's create an article instance and check in which state it is:
article =

0 comments on commit 0985965

Please sign in to comment.