# File lib/taskjuggler/RichText/RTFWithQuerySupport.rb, line 18 def initialize(type, sourceFileInfo = nil) super @query = nil 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.
# File lib/taskjuggler/RichText/RTFWithQuerySupport.rb, line 26 def setQuery(query) @query = query.dup end