The gem is not used directly here but was a workaround for it being removed as a default bundled gem.
Yard used this but internal usage was removed in https://github.com/lsegal/yard/pull/1297 so this is not needed anymore.
The yard version constraint is already high enough that removing this will not cause any problems. The fix was shipped with 0.9.21 while the gemspec requires 0.9.24 or higher.
Added in #253 for early ruby 2.7 compatibility.
The gem is not used directly here but was a workaround for it being removed as a default bundled gem. Yard used this but internal usage was removed in https://github.com/lsegal/yard/pull/1297 so this is not needed anymore.
The yard version constraint is already high enough that removing this will not cause any problems. The fix was shipped with 0.9.21 while the gemspec requires 0.9.24 or higher.