Sha256: f82f5736cae35b175d9b2c4eeb3d2760c51642d04790b2386309d5614e3f2263
Contents?: true
Size: 339 Bytes
Versions: 20
Compression:
Stored size: 339 Bytes
Contents
# frozen_string_literal: true module Kitchen # Compare one string with another # # Returns 0 if first string equals second, # 1 if first string is greater than the second # and -1 if first string is less than the second. # class I18nString < String def <=>(other) I18n.sort_strings(self, other) end end end
Version data entries
20 entries across 20 versions & 1 rubygems