diff options
author | Kasper Timm Hansen <kaspth@gmail.com> | 2018-12-18 22:03:23 +0100 |
---|---|---|
committer | Kasper Timm Hansen <kaspth@gmail.com> | 2018-12-18 22:05:42 +0100 |
commit | 7cf7ba4db535ea45e70e844cb653909be6143fd5 (patch) | |
tree | 77b709173e240ba10e0a73d05c95433756bb37dc /lib/rails/generators/mailbox/USAGE | |
parent | a2c3b282577d1dc784898681763a400a0caad5c3 (diff) | |
download | rails-7cf7ba4db535ea45e70e844cb653909be6143fd5.tar.gz rails-7cf7ba4db535ea45e70e844cb653909be6143fd5.tar.bz2 rails-7cf7ba4db535ea45e70e844cb653909be6143fd5.zip |
Refit generator file structure to match Action Cable.
Fits with rails/generators/channel containing:
- channel_generator.rb
- templates/
- USAGE
Diffstat (limited to 'lib/rails/generators/mailbox/USAGE')
-rw-r--r-- | lib/rails/generators/mailbox/USAGE | 12 |
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 |