lib/devise_authorizable/model/role.rb
# All +role+ methods except the role name as string or symbol.
# This method converts the name to a symbol if it is not a symbol.
All +role+ methods except the role name as string or symbol.
This method converts the name to a symbol if it is not a symbol.
All + role + methods except the role name as string or symbol . This method converts the name to a symbol if it is not a symbol .
def to_role_name(name)
          if name.is_a? Symbol
            name
          else
            name.to_s.to_sym
          end
        end
def to_role_name ( name ) if name . is_a? Symbol name else name . to_s . to_sym end end
All +role+ methods except the role name as string or symbol.
All + role + methods except the role name as string or symbol .
name
<not_specific>