Method: Installation::SystemRole.ids

Defined in:
src/lib/installation/system_role.rb

.idsArray<String>

Returns an array with all the role ids

Examples:

SystemRole.ids #=> ["role_one", "role_two"]

Returns:

  • (Array<String>)

    array with all the role ids; empty if no roles



92
93
94
# File 'src/lib/installation/system_role.rb', line 92

def ids
  all.map(&:id)
end