No need to define String#starts_with? and #ends_with? as Ruby 1.8 support is deprecated.

The methods were introduced with Ruby 1.8.7 and 1.9.0, and since the library is now only targeted 1.9.2+ there is no need for this extra code.