class Upl::Runtime::PrologException
Public Class Methods
new(term_tree)
click to toggle source
# File lib/upl/runtime.rb, line 23 def initialize(term_tree) @term_tree = term_tree end
Public Instance Methods
message()
click to toggle source
# File lib/upl/runtime.rb, line 27 def message @message ||= begin # TODO need to use print_message_lines/3 to generate this string pp = PP.new @term_tree.args.each{|arg| arg.pretty_print pp} "#{@term_tree.atom}: #{pp.output}" end end