The library opens up the String class and adds a method write_size, which returns the size of the string.
Halisson Bruno
gem "my_string_extend_hb", "~> 0.0.1"