Sha256: b26cd30b00de3b80939a3713bc41de1ec87e9d07ac866bf9ecad95ed1f059b59
Contents?: true
Size: 422 Bytes
Versions: 1
Compression:
Stored size: 422 Bytes
Contents
require 'rails/generators' module Abilities module Generators class InstallGenerator < Rails::Generators::Base source_root File.expand_path('../templates', __FILE__) def create_initializer_file copy_file 'initializer.rb', 'config/initializers/abilities.rb' end def create_configuration_file copy_file 'configuration.rb', 'config/abilities.rb' end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
abilities-5.1.2 | lib/generators/abilities/install/install_generator.rb |