Learn R Programming

jug (version 0.1.2)

decorate: Convenience function to decorate existing functions

Description

Convenience function to decorate existing functions

Usage

decorate(func, content_type = "text/html")

Arguments

func
the function to decorate
content_type
the content type to set on the response object