Class: EacRailsBase0::AbilitiesGenerator

Inherits:
Rails::Generators::Base
  • Object
show all
Defined in:
lib/generators/eac_rails_base0/abilities/abilities_generator.rb

Instance Method Summary collapse

Instance Method Details

#copy_binObject



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