Class: EacRailsBase0::AbilitiesGenerator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- EacRailsBase0::AbilitiesGenerator
- Defined in:
- lib/generators/eac_rails_base0/abilities/abilities_generator.rb
Instance Method Summary collapse
Instance Method Details
#copy_bin ⇒ Object
7 8 9 10 11 |
# File 'lib/generators/eac_rails_base0/abilities/abilities_generator.rb', line 7 def copy_bin %w[ability ability_mapping].each do |base| copy_file "#{base}.rb", "lib/#{base}.rb" end end |