Sha256: ba877780b7e490e7bd3a4138d997fdd8855c2d2df3d83ea0bb0d68462209cae5
Contents?: true
Size: 444 Bytes
Versions: 7
Compression:
Stored size: 444 Bytes
Contents
# encoding: utf-8 # Copyright 2010-2013 Ayumu Nojima (野島 歩) and Martin J. Dürst (duerst@it.aoyama.ac.jp) # available under the same licence as Ruby itself # (see http://www.ruby-lang.org/en/LICENSE.txt) class String def normalize(form = :nfc) Eprun.normalize(self, form) end def normalize!(form = :nfc) replace(self.normalize(form)) end def normalized?(form = :nfc) Eprun.normalized?(self, form) end end
Version data entries
7 entries across 7 versions & 3 rubygems