summaryrefslogtreecommitdiff
path: root/databases/ruby-dm-is-state_machine/DESCR
diff options
context:
space:
mode:
Diffstat (limited to 'databases/ruby-dm-is-state_machine/DESCR')
-rw-r--r--databases/ruby-dm-is-state_machine/DESCR13
1 files changed, 13 insertions, 0 deletions
diff --git a/databases/ruby-dm-is-state_machine/DESCR b/databases/ruby-dm-is-state_machine/DESCR
new file mode 100644
index 00000000000..8b468aa316a
--- /dev/null
+++ b/databases/ruby-dm-is-state_machine/DESCR
@@ -0,0 +1,13 @@
+DataMapper plugin that adds state machine functionality to your models.
+
+== Why is this plugin useful?
+
+Your DataMapper resource might benefit from a state machine if it:
+
+* has different "modes" of operation
+* has discrete behaviors
+* especially if the behaviors are mutually exclusive
+
+And you want a clean, high-level way of describing these modes / behaviors
+and how the resource moves between them. This plugin allows you to
+declaratively describe the states and transitions involved.