░▒▓████████████████████████████████▓▒░ ░▒▓█ ▓▒░ ░▒▓█ ~ S W A M P ~ ▓▒░ ░▒▓█ ▓▒░ ░▒▓████████████████████████████████▓▒░
pplmvsvm
LOCATION:
/var/www/canvas/vendor/bundle/ruby/3.1.0/gems/unf-0.1.4/lib/unf
☗ ROOT
↻ REFRESH
✎ CARVE FLESH
EDITING: normalizer_jruby.rb
require 'java' module UNF # :nodoc: all class Normalizer def initialize() @normalizer = java.text.Normalizer end def normalize(string, normalization_form) @normalizer.normalize(string, form(normalization_form)) end private def form(symbol) case symbol when :nfc @normalizer::Form::NFC when :nfd @normalizer::Form::NFD when :nfkc @normalizer::Form::NFKC when :nfkd @normalizer::Form::NFKD else raise ArgumentError, "unknown normalization form: #{symbol.inspect}" end end end end
CANCEL
Name
Type
Size
Modified
Actions
↩ ..
DIR
—
—
📄 normalizer.rb
RB
800 B
2023-09-24 03:48
EDIT
📄 normalizer_cruby.rb
RB
18 B
2023-09-24 03:48
EDIT
📄 normalizer_jruby.rb
RB
608 B
2023-09-24 03:48
EDIT
📄 version.rb
RB
35 B
2023-09-24 03:48
EDIT