Class TaskJuggler::KeywordArray
In: lib/taskjuggler/KeywordArray.rb
Parent: Array

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.

Methods

include?  

External Aliases

include? -> a_include?

Public Instance methods

[Source]

# File lib/taskjuggler/KeywordArray.rb, line 24
    def include?(keyword)
      (self[0] == '*') || a_include?(keyword)
    end

[Validate]