Class: Workarea::Listrak::MessageGenerator
- Inherits:
-
Rails::Generators::NamedBase
- Object
- Rails::Generators::NamedBase
- Workarea::Listrak::MessageGenerator
- Defined in:
- lib/generators/workarea/listrak/message/message_generator.rb
Overview
Generate new Message classes for your host app (or plugin).
Instance Method Summary collapse
Instance Method Details
#copy_agent ⇒ Object
7 8 9 10 11 12 |
# File 'lib/generators/workarea/listrak/message/message_generator.rb', line 7 def copy_agent template( "message.rb.erb", "app/messages/workarea/#{file_name}_message.rb" ) end |