Class: Authority::Generators::InstallGenerator

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

Instance Method Summary (collapse)

Instance Method Details

- (Object) do_all



10
11
12
13
14
15
16
17
18
19
20
21
22
23
# File 'lib/generators/authority/install_generator.rb', line 10

def do_all
  create_authorizers_directory
  copy_application_authorizer
  copy_initializer
  copy_forbidden
  message = <<-RUBY

  Install complete! See the README on Github for instructions on getting your
  app running with Authority.

  RUBY
  puts message.strip_heredoc

end