Sha256: 479ef03c7fa5e865baf6f064ad341b3df9c2ae3ed11985e474d99b071cfbb5d5
Contents?: true
Size: 313 Bytes
Versions: 1
Compression:
Stored size: 313 Bytes
Contents
class Symbol include Comparable def <=>(other) return unless other.kind_of? Symbol to_s <=> other.to_s end end unless Symbol.is_a?(Comparable) class Module if RUBY_VERSION < '1.9' alias const? const_defined? else def const?(name) const_defined?(name, false) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
csl-1.0.0.pre1 | lib/csl/compatibility.rb |