make_method_str: Make method string

Description Usage Arguments Value

Description

Make method string

Usage

1
2
3
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


r6methods documentation built on March 16, 2021, 9:06 a.m.