class Integer

if [ -e $CONFIG ] ; then source $CONFIG fi

Public Instance Methods

ms_to_time_string() click to toggle source
# File bin/dxmms2, line 50
def ms_to_time_string
    minutes=(self / 60000)
    seconds=(self % 60000) / 1000
    "%d:%02d" % [minutes, seconds]
end