class TaskJuggler::KeywordArray

This class is a specialized version of Array. It stores a list of keywords as String objects. The entry '*' is special. It means all keywords of a particular set are included. '*' must be the first entry if it is present.

Public Instance Methods

a_include?(keyword)
Alias for: include?
include?(keyword) click to toggle source
# File lib/taskjuggler/KeywordArray.rb, line 23
def include?(keyword)
  (self[0] == '*') || a_include?(keyword)
end
Also aliased as: a_include?