method

size

ruby latest stable - Class: StringIO
size()
public

Returns the size of the buffer string.