aboutsummaryrefslogtreecommitdiffstats
path: root/lib/rails/generators/mailbox/USAGE
diff options
context:
space:
mode:
authorDavid Heinemeier Hansson <david@loudthinking.com>2018-12-14 13:04:36 -0800
committerGitHub <noreply@github.com>2018-12-14 13:04:36 -0800
commit749e923539075eef407e5d9b8c7c151a3b3171d4 (patch)
treeef10db9512efed536af530e8e390bb1a6ec64b85 /lib/rails/generators/mailbox/USAGE
parentd6621cc2659127217c3c4a128f1ba76cf5c231e8 (diff)
parentacae20e2abee8843ae2b33929553fe1e100dd1c4 (diff)
downloadrails-749e923539075eef407e5d9b8c7c151a3b3171d4.tar.gz
rails-749e923539075eef407e5d9b8c7c151a3b3171d4.tar.bz2
rails-749e923539075eef407e5d9b8c7c151a3b3171d4.zip
Merge pull request #8 from dgilperez/adds-generator
Add Mailbox and MailboxTest generators
Diffstat (limited to 'lib/rails/generators/mailbox/USAGE')
-rw-r--r--lib/rails/generators/mailbox/USAGE12
1 files changed, 12 insertions, 0 deletions
diff --git a/lib/rails/generators/mailbox/USAGE b/lib/rails/generators/mailbox/USAGE
new file mode 100644
index 0000000000..d679dd63ae
--- /dev/null
+++ b/lib/rails/generators/mailbox/USAGE
@@ -0,0 +1,12 @@
+Description:
+============
+ Stubs out a new mailbox class in app/mailboxes and invokes your template
+ engine and test framework generators.
+
+Example:
+========
+ rails generate mailbox inbox
+
+ creates a InboxMailbox class and test:
+ Mailbox: app/mailboxes/inbox_mailbox.rb
+ Test: test/mailboxes/inbox_mailbox_test.rb