class TaskJuggler::AlertLevelDefinition

This class holds all information to describe a alert level as used by TaskJuggler. A level has a unique ID, a unique name and a unique color. Colors are stored as HTML compatible strings, e. g. “#RGB” where R, G, B are a single or two-digit hex value.

Public Instance Methods

to_s() click to toggle source
# File lib/taskjuggler/AlertLevelDefinitions.rb, line 22
def to_s
  "#{id} '#{name}' '#{color}'"