Sha256: f6440214bf7378c73a47ab01345a08577fd764a9f5340e3f2c28e27350d7e6c8

Contents?: true

Size: 260 Bytes

Versions: 5

Compression:

Stored size: 260 Bytes

Contents

module Corral
  module Generators
    class AbilityGenerator < Rails::Generators::Base
      source_root File.expand_path('../templates', __FILE__)

      def generate_ability
        copy_file "ability.rb", "app/models/ability.rb"
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
corral_acl-1.0.1 lib/generators/corral/ability/ability_generator.rb
corral_acl-1.0.0 lib/generators/corral/ability/ability_generator.rb
corral_acl-0.9.9 lib/generators/corral/ability/ability_generator.rb
corral_acl-0.9.1 lib/generators/corral/ability/ability_generator.rb
corral_acl-0.9.0 lib/generators/corral/ability/ability_generator.rb