Method: RoleStrategy::Generic::ManyRoles::Implementation#present_roles
- Defined in:
- lib/roles_generic/strategy/multi/many_roles.rb
#present_roles(roles_names) ⇒ Object
14 15 16 |
# File 'lib/roles_generic/strategy/multi/many_roles.rb', line 14 def present_roles roles_names roles_names.to_a.map{|role| role.name.to_s.to_sym} end |