Sha256: 3f1338c174d7821bcd813394b226425d8fae3a7f9a4df4742b2d2c8f1ab0156e

Contents?: true

Size: 447 Bytes

Versions: 4

Compression:

Stored size: 447 Bytes

Contents

# encoding: utf-8

if 'мама'.upcase != 'МАМА'
  require 'unicode'
  class ::String
     def downcase
       Unicode::downcase(self)
     end
     def downcase!
       self.replace downcase
     end
     def upcase
       Unicode::upcase(self)
     end
     def upcase!
       self.replace upcase
     end
     def capitalize
       Unicode::capitalize(self)
     end
     def capitalize!
       self.replace capitalize
     end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
qipowl-0.9.7 lib/qipowl/utils/unicode_strings.rb
qipowl-0.9.3 lib/qipowl/utils/unicode_strings.rb
qipowl-0.9.2 lib/qipowl/utils/unicode_strings.rb
qipowl-0.9.1 lib/qipowl/utils/unicode_strings.rb