Class: ExceptionHandler::ViewsGenerator

Inherits:
Rails::Generators::Base
  • Object
show all
Defined in:
lib/generators/exception_handler/views_generator.rb

Constant Summary collapse

VIEWS =

Views

%w(views controllers models assets)

Instance Method Summary collapse

Instance Method Details

#create_filesObject

Files



22
23
24
25
26
# File 'lib/generators/exception_handler/views_generator.rb', line 22

def create_files
  options.files.each do |arg|
    directory arg, "app/#{arg}"
  end
end