Sha256: eaa5e4abf4c0a04453ea9d05f60363df9499058e496bc01dfbaa49ab327dcb95

Contents?: true

Size: 274 Bytes

Versions: 4

Compression:

Stored size: 274 Bytes

Contents

require 'rails/generators'

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

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

    def create_capable_concern
      copy_file 'abilities.rb', 'config/initializers/abilities.rb'
    end

  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
abilities-0.0.4 lib/generators/abilities/install_generator.rb
abilities-0.0.3 lib/generators/abilities/install_generator.rb
abilities-0.0.2 lib/generators/abilities/install_generator.rb
abilities-0.0.1 lib/generators/abilities/install_generator.rb