Class TaskJuggler::RTFWithQuerySupport
In: lib/taskjuggler/RichText/RTFWithQuerySupport.rb
Parent: RichTextFunctionHandler

Methods

new   setQuery  

Public Class methods

[Source]

# File lib/taskjuggler/RichText/RTFWithQuerySupport.rb, line 20
    def initialize(type, sourceFileInfo = nil)
      super
      @query = nil
    end

Public Instance methods

This function must be called to register the Query object that will be used to resolve the queries. It will create a copy of the object since it will modify it.

[Source]

# File lib/taskjuggler/RichText/RTFWithQuerySupport.rb, line 28
    def setQuery(query)
      @query = query.dup
    end

[Validate]