Support for the Ruby 2.4 series has ended. See here for reference.
# File rss/maker/base.rb, line 757
def <=>(other)
_date = date || dc_date
_other_date = other.date || other.dc_date
if _date and _other_date
_date <=> _other_date
elsif _date
1
elsif _other_date
-1
else
0
end
end
# File rss/maker/base.rb, line 734
def date=(_date)
@date = _parse_date_if_needed(_date)
end