- #42: Fix a warning on Ruby 2.7.
- Changed
String#remove_prefix
to return the original string if the parameter is not a prefix. - Changed
String#remove_prefix!
to return the original string if the parameter is not a prefix. - Changed
String#remove_suffix
to return the original string if the parameter is not a suffix. - Changed
String#remove_suffix!
to return the original string if the parameter is not a suffix.
No user-visible changes.
- Added
String#remove_prefix
- Added
String#remove_prefix!
- Added
String#remove_suffix
- Added
String#remove_suffix!
- Added
String#remove
- Added
String#remove!
- Added
String#ascii_only
- Added
String#ascii_only!
- Added
Enumerable#exactly?
- Added
Enumerable#average
- Added
Numeric#hundred
- Added
Numeric#thousand
- Added
Numeric#million
- Added
Numeric#billion
- Added
Numeric#trillion
- Added
Numeric#quadrillion
- Renamed
Array#tail
toArray#butfirst
Enumerable#take_last_while
returns the result in the same order asEnumerable#take_last