Class: Cancan::Generators::LicensesGenerator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- Cancan::Generators::LicensesGenerator
- Defined in:
- lib/generators/cancan/licenses/licenses_generator.rb
Instance Method Summary collapse
Instance Method Details
#main_flow ⇒ Object
17 18 19 20 21 22 23 24 25 |
# File 'lib/generators/cancan/licenses/licenses_generator.rb', line 17 def main_flow if default_licenses? default_licenses.each{|license| default_license license } end licenses.each do |license| template_license(license) # if !skip_license?(license) end end |