Sha256: ad736630a7163b690befa915232f95da4f94d97be479203964483dd207998f63
Contents?: true
Size: 416 Bytes
Versions: 20
Compression:
Stored size: 416 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 class Struct alias_method :__class__, :class end unless Struct.instance_methods.include?(:__class__)
Version data entries
20 entries across 20 versions & 1 rubygems