The library opens up the String class and adds a method writesize, which returns the size of the string.
amscad
gem "my_string_extend_ams", "~> 0.0.1"