Sha256: 6ffe100eca3771700b97d5c67d9f0e8e6606f32f53bbf49ee2a220db38bf4772

Contents?: true

Size: 306 Bytes

Versions: 3

Compression:

Stored size: 306 Bytes

Contents

require 'rails/generators'

module Abilities
  module Generators
    class InstallGenerator < Rails::Generators::Base

      source_root File.expand_path('../templates', __FILE__)

      def create_configuration_file
        copy_file 'configuration.rb', 'config/abilities.rb'
      end

    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
abilities-5.1.1 lib/generators/abilities/install/install_generator.rb
abilities-5.1.0 lib/generators/abilities/install/install_generator.rb
abilities-4.0.0.1 lib/generators/abilities/install/install_generator.rb