R/print_functions.R

#' @include module_class.R
# Print functions should return the argument 'x' invisibly.
NULL

#' @aliases print,module-method
#' @docType methods
#' @rdname print-methods
setMethod("print", "module", function(x) {
  cat(sprintf("Module ID: %s\n", x@module_id))
  return(invisible(x))
})

Try the maat package in your browser

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

maat documentation built on May 18, 2022, 9:07 a.m.