class type template = object .. end
object
end
method output : (string -> unit) -> unit
(string -> unit) -> unit
#output print
print