Sha256: 5d395f2cbe4ee762db348c5e14bda7478a398cb755cd58a16dc97af1a23fb1c3
Contents?: true
Size: 413 Bytes
Versions: 3
Compression:
Stored size: 413 Bytes
Contents
module Polyfill module V2_4 module String module Instance module CasecmpQ module Method def casecmp?(other) casecmp(other.to_str) == 0 end end refine ::String do include Method end def self.included(base) base.include Method end end end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
polyfill-0.6.0 | lib/polyfill/v2_4/string/instance/casecmp_q.rb |
polyfill-0.5.0 | lib/polyfill/v2_4/string/instance/casecmp_q.rb |
polyfill-0.4.0 | lib/polyfill/v2_4/string/instance/casecmp_q.rb |