Class: Kingsman::Generators::ErbGenerator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- Kingsman::Generators::ErbGenerator
- Includes:
- ViewPathTemplates
- Defined in:
- lib/generators/kingsman/views_generator.rb
Overview
:nodoc:
Instance Method Summary collapse
Instance Method Details
#copy_views ⇒ Object
100 101 102 103 104 |
# File 'lib/generators/kingsman/views_generator.rb', line 100 def copy_views if ![:views] || [:views].include?('mailer') view_directory :mailer end end |