module Rolypoly

Constants

FailedRoleCheckError
VERSION

Public Class Methods

define_gatekeepers(&block) click to toggle source
# File lib/rolypoly.rb, line 7
def self.define_gatekeepers(&block)
  role_gatekeepers = RoleGatekeepers.new
  role_gatekeepers.instance_eval(&block)
  role_gatekeepers
end