module OldSchool::HiScores

Constants

COMBAT_SKILLS
HUMAN_NAME
MEMBER_SKILLS
MINIGAMES
MINIGAMES_SAFE
MODES
RESOURCE
SKILLS

Public Class Methods

human_name_for(symbol) click to toggle source

@note The symbol must be a valid skill or minigame @return [String] the human readable name for a given symbol @return [“Undefined”] if the given symbol is invalid

# File lib/oldschool/hiscores/hiscores.rb, line 79
def self.human_name_for(symbol)
  HUMAN_NAME[symbol] || 'Undefined'
end