# class_prototype_methods.R
#' @include internals.R
#' @rdname class_prototype_methods
#' @template class_prototype_methods
#' @aliases format,Prototype-method
#' @export
format.Prototype <- function(x, ...)
{
return(
sprintf("class:<%s> enclos:<%s> const:<%s>",
class(x@archetype)[[1L]],
gsub("[<>]", "", format(x@enclosure)),
deparse(x@constructor)
)
)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.