R/print.R

Defines functions minimalPrint

minimalPrint = function(object)
{
    msg = sprintf('An object of class "%s"
Slots: ', class(object))
    slots = paste(slotNames(object), collapse = ", ")
    cat(paste0(msg, slots, "\n\n"))
}


setMethod("show", "Schedule", minimalPrint)

setMethod("show", "GeneratedCode", minimalPrint)
clarkfitzg/codedoctor documentation built on Nov. 10, 2019, 7:11 a.m.