Sha256: 991978498f1462446acbc7379fb635746b357188e5761375e00f255f40637d06
Contents?: true
Size: 212 Bytes
Versions: 10
Compression:
Stored size: 212 Bytes
Contents
module Permits::Roles def self.available if Module.const_defined? :User [:guest, :admin] #User.defined_roles if User.respond_to? :defined_roles else [:guest, :admin] end end end
Version data entries
10 entries across 10 versions & 1 rubygems