Class: Cancan::Generators::ConfigGenerator

Inherits:
Rails::Generators::Base
  • Object
show all
Extended by:
RailsAssist::UseMacro
Includes:
Cream::GeneratorHelper
Defined in:
lib/generators/cancan/config/config_generator.rb

Instance Method Summary collapse

Methods included from Cream::GeneratorHelper

#add_logger, #debug!, included, #info!, #logit!

Instance Method Details

#cancan_configureObject



15
16
17
18
19
# File 'lib/generators/cancan/config/config_generator.rb', line 15

def cancan_configure
	logit!
  cancan_gems if gems?
  cancan_exception_handling
end