Class: Cancan::Generators::LicenseGenerator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- Cancan::Generators::LicenseGenerator
- Defined in:
- lib/generators/cancan/license/license_generator.rb
Instance Method Summary collapse
Instance Method Details
#main_flow ⇒ Object
23 24 25 26 |
# File 'lib/generators/cancan/license/license_generator.rb', line 23 def main_flow return if name.empty? create_license end |