class Partyhat::Stat
Constants
Public Class Methods
human_name_for(stat)
click to toggle source
Get the human readable name for a stat name
-
returns ‘Undefined’ if not found
# File lib/partyhat/stat.rb, line 108 def self.human_name_for stat HumanNames[stat] || 'Undefined' end