class Kitchen::I18nString

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.

Public Instance Methods

<=>(other) click to toggle source
# File lib/kitchen/i18n_string.rb, line 12
def <=>(other)
  I18n.sort_strings(self, other)
end