Class: RocketCms::AbilityGenerator

Inherits:
Rails::Generators::Base
  • Object
show all
Includes:
Generators::Utils::InstanceMethods
Defined in:
lib/generators/rocket_cms/ability_generator.rb

Instance Method Summary collapse

Methods included from Generators::Utils::InstanceMethods

#ask_for, #display

Instance Method Details

#abilityObject



10
11
12
# File 'lib/generators/rocket_cms/ability_generator.rb', line 10

def ability
  template 'ability.erb', 'app/models/ability.rb'
end