# File lib/mongo/util/conversions.rb, line 71 def string_as_sort_parameters(value) return {} if (str = value.to_s).empty? { str => 1 } end