class Fixnum

Public Instance Methods

<=>(other) click to toggle source
# File lib/log2counter/core_ext/compare_strings_and_fixnums.rb, line 51
def <=>(other)
  case other
    when String then -1  # Strings always sort after us.
    else             _log2counter_original_cmp(other)
  end
end
Also aliased as: _log2counter_original_cmp
_log2counter_original_cmp(other)
Alias for: <=>