make_method_str {r6methods}R Documentation

Make method string

Description

Make method string

Usage

make_getter_method_str(field, is_public = TRUE, add_roxygen = TRUE)

make_setter_method_str(field, is_public = TRUE, add_roxygen = TRUE)

Arguments

field

Character name of class field

is_public

Logical, whether the field is in public list

add_roxygen

Logical, whether to add roxygen description of method

Value

Character containing method definition


[Package r6methods version 0.1.0 Index]