method

length

ruby latest stable - Class: StringIO
length()
public

Returns the size of the buffer string.