R/object.R

Defines functions print.RQtObject print.RQtInvalid

## methods on RQtObject, which wraps every object created by Smoke

setOldClass("RQtObject")

print.RQtObject <- function(x, ...) {
  cat(head(class(x), 1), "instance\n")
}

print.RQtInvalid <- function(x, ...) {
  cat("**INVALID** reference to a", class(x)[2], "instance\n")
}

Try the qtbase package in your browser

Any scripts or data that you put into this service are public.

qtbase documentation built on May 2, 2019, 9:58 a.m.