Skip to contents

This function returns a string representation of the object.

Usage

BASE$..str..()

Value

A string.

Examples


BASE$..str..()
#> [1] "<BASE class>"

# Inherit from BASE
TEST <- new_class(BASE, class_name = "TEST")
TEST$..str..()
#> [1] "<TEST class>"

# Instantiate
test <- BASE$instantiate()
test$..str..()
#> [1] "<BASE object>"