Sha256: daa12147a1320fcc15d72052b1ad8cd0d78958040607fbdec92887373cbe0b48

Contents?: true

Size: 187 Bytes

Versions: 1

Compression:

Stored size: 187 Bytes

Contents

unless Symbol.is_a?(Comparable)
  class Symbol
    include Comparable
    
    def <=>(other)
      return nil unless other.respond_to?(:to_s)
      to_s <=> other.to_s
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
citeproc-0.0.2 lib/citeproc/compatibility.rb