Class: Cantango::Generators::LicenseGenerator

Inherits:
Base
  • Object
show all
Includes:
LicenseBase
Defined in:
lib/generators/cantango/license/license_generator.rb

Constant Summary

Constants inherited from Base

Base::CAN_ACTIONS

Instance Method Summary collapse

Methods included from LicenseBase

#license_logic, #licenses

Methods included from Basic

#account, #admin_logic, #base_logic, #guest_logic, #license_logic, #rules_logic

Instance Method Details

#main_flowObject



15
16
17
18
# File 'lib/generators/cantango/license/license_generator.rb', line 15

def main_flow
  return if name.empty?
  create_license
end