Method: AccessRoles::RoleSetQuery#each

Defined in:
lib/access_roles/role_set_query.rb

#each(&block) ⇒ Object

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



47
48
49
# File 'lib/access_roles/role_set_query.rb', line 47

def each(&block)
  role_set.select { |role| matches_all?(role) }.each(&block)
end