Sha256: 2aac2b3f418fcee9fed96eaa9d49e52e8db786a082af8583b4866e9872f3cea2
Contents?: true
Size: 287 Bytes
Versions: 12
Compression:
Stored size: 287 Bytes
Contents
# frozen_string_literal: true module Cancan module Generators class AbilityGenerator < Rails::Generators::Base source_root File.expand_path('templates', __dir__) def generate_ability copy_file 'ability.rb', 'app/models/ability.rb' end end end end
Version data entries
12 entries across 12 versions & 2 rubygems