lib/destiny_rb/manifest_definitions.rb
# Character Class definitions
#
# Usage:
#   client.character_class(:titan)
#   client.character_class(0)
#
# Arguments:
#   type: (String/Symbol)
#
# Returns:
#   Either the numeric representation of a character class or a symbol of said class.
#


(String/Symbol)

Either the numeric representation of a character class or a symbol of said class.
( String / Symbol ) Either the numeric representation of a character class or a symbol of said class .
def character_class(type)
      classes = {
        titan: 0,
        hunter: 1,
        warlock: 2,
        unknown: 3
        }
      type_checker(type, classes)
    end
def character_class ( type ) classes = { titan : 0 , hunter : 1 , warlock : 2 , unknown : 3 } type_checker ( type , classes ) end
Character Class definitions
Usage:
client.character_class(:titan)
client.character_class(0)
Character Class definitions Usage : client . character_class ( : titan ) client . character_class ( 0 )
type
<not_specific>