Sha256: 302e8a14a6b0ef67a11927538ff72853366e547768f0d2d63765a7272f2d505f
Contents?: true
Size: 357 Bytes
Versions: 3
Compression:
Stored size: 357 Bytes
Contents
# frozen_string_literal: true namespace :papers_please do desc 'Print out all defined roles and permissions in match order' task :roles, [:klass] => :environment do |_, _args| klass = klass ? Object.const_get(klass) : AccessPolicy puts "Generating Role/Permission Table for #{klass}...\n\n" PapersPlease.permissions_table(klass) end end
Version data entries
3 entries across 3 versions & 1 rubygems