Class: Cancan::Generators::LicenseGenerator

Inherits:
Rails::Generators::Base
  • Object
show all
Defined in:
lib/generators/cancan/license/license_generator.rb

Instance Method Summary collapse

Instance Method Details

#main_flowObject



23
24
25
26
# File 'lib/generators/cancan/license/license_generator.rb', line 23

def main_flow      
  return if name.empty?
  create_license
end