Sha256: 6da701ae92cc11b836e666ecca997cf7da6516070b8777938a5646cbdb2a6420
Contents?: true
Size: 416 Bytes
Versions: 8
Compression:
Stored size: 416 Bytes
Contents
#!ruby # --- errorMsg --- # # Author: Magnus Engström # Email: magnus@gisab.se # File: errorWrite # # Description # ----------- # Outputs an error message to the administrator # ------------------ def errorMsg(message, exitapp = false) STDERR.puts(message) MP3Control::exit_mpg123() if(exitapp) Kernel::exit(exitapp) if(exitapp) # Terminate application and return the exitapp value if it isn't falsew end
Version data entries
8 entries across 8 versions & 4 rubygems