Sha256: a599f002192d2e53c5b91cd961ba49e4f6d19c1c3df3bf740c63b76772b24725
Contents?: true
Size: 371 Bytes
Versions: 1
Compression:
Stored size: 371 Bytes
Contents
module CanTango module PermissionEngine module Selector autoload_modules :Base, :Licenses, :Roles, :RoleGroups, :Users def self.create type, collector selector_class(type).new collector end def self.selector_class type "CanTango::PermissionEngine::Selector::#{type.to_s.camelize}".constantize end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
cantango-0.8.0 | lib/cantango/permission_engine/selector.rb |