Class: Cannie::Generators::PermissionsGenerator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- Cannie::Generators::PermissionsGenerator
- Defined in:
- lib/generators/cannie/permissions/permissions_generator.rb
Instance Method Summary collapse
Instance Method Details
#generate_permissions ⇒ Object
6 7 8 |
# File 'lib/generators/cannie/permissions/permissions_generator.rb', line 6 def copy_file 'permissions.rb', 'app/models/permissions.rb' end |