Newer
Older
2018-fumichan-thesis / practice / vendor / bundle / ruby / 2.5.0 / gems / backports-3.11.4 / lib / backports / 1.9.1 / symbol / comparison.rb
unless Symbol.method_defined? :<=>
  class Symbol
    def <=>(with)
      return nil unless with.is_a? Symbol
      to_s <=> with.to_s
    end
  end
end