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