Gapped text buffer extention for Ruby 