# Create a concrete function.
setMethod(
"describe",
signature(x = "list"),
function (x) {
print(x$value)
}
)
# Create an object to describe.
tst = list(loc = "in_ram_not_shared", value = "hello world")
# Describe it
describe(tst)
Run the code above in your browser using DataLab