method

clear

Importance_1
clear() public

Makes string empty.

a = "abcde"
a.clear    #=> ""
Show source
Register or log in to add new notes.