Class: ExceptionHandler::ViewsGenerator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- ExceptionHandler::ViewsGenerator
- Defined in:
- lib/generators/exception_handler/views_generator.rb
Constant Summary collapse
- VIEWS =
Views
%w(views controllers models assets)
Instance Method Summary collapse
-
#create_files ⇒ Object
Files.
Instance Method Details
#create_files ⇒ Object
Files
22 23 24 25 26 |
# File 'lib/generators/exception_handler/views_generator.rb', line 22 def create_files .files.each do |arg| directory arg, "app/#{arg}" end end |