R/AllClasses.R

##'GistDest
##'
##' A simple object indicating that the publishing destination
##' is a GitHub gist.
##' @export
setClass("GistDest", representation(unused="logical"))

##' Gist
##'
##' Create a GistDest object. Pass this to publishManifest as
##' the destination to publish a package or seeding manifest to a
##' GitHub gist.
##' @export
Gist = function() new("GistDest")

setMethod("show", "GistDest",
          function(object) cat("\nA GistDest object.\n"))
gmbecker/switchrGist documentation built on May 17, 2019, 7:23 a.m.