class TaskJuggler::RTFWithQuerySupport

Public Class Methods

new(type, sourceFileInfo = nil) click to toggle source
# File lib/taskjuggler/RichText/RTFWithQuerySupport.rb, line 19
def initialize(type, sourceFileInfo = nil)
  super
  @query = nil
end

Public Instance Methods

setQuery(query) click to toggle source

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.

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