class TaskJuggler::RTFWithQuerySupport
Public Class Methods
Source
# File lib/taskjuggler/RichText/RTFWithQuerySupport.rb, line 20 def initialize(type, sourceFileInfo = nil) super @query = nil end
Calls superclass method
TaskJuggler::RichTextFunctionHandler::new
Public Instance Methods
Source
# File lib/taskjuggler/RichText/RTFWithQuerySupport.rb, line 28 def setQuery(query) @query = query.dup end
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.