Sha256: 26e3692fa07ffcaa2bf7c6411a7ba3ed6d2d1d76003bfce6ac4d2ce3b98bcfad

Contents?: true

Size: 307 Bytes

Versions: 10

Compression:

Stored size: 307 Bytes

Contents

if defined?(RUBY_ENGINE) && RUBY_ENGINE == 'jruby'
  require 'unf/normalizer_jruby'
else
  require 'unf/normalizer_cruby'
end

class UNF::Normalizer
  class << self
    def instance
      @@normalizer ||= new
    end

    def normalize(string, form)
      instance.normalize(string, form)
    end
  end
end

Version data entries

10 entries across 10 versions & 3 rubygems

Version Path
unf-0.1.0 lib/unf/normalizer.rb
frameworks-capybara-0.2.0.rc6 vendor/bundle/ruby/1.8/gems/unf-0.0.5/lib/unf/normalizer.rb
frameworks-capybara-0.2.0.rc5 vendor/bundle/ruby/1.8/gems/unf-0.0.5/lib/unf/normalizer.rb
frameworks-capybara-0.2.0.rc4 vendor/bundle/ruby/1.8/gems/unf-0.0.5/lib/unf/normalizer.rb
frameworks-capybara-0.2.0.rc3 vendor/bundle/ruby/1.8/gems/unf-0.0.5/lib/unf/normalizer.rb
frameworks-capybara-0.2.0.rc2 vendor/bundle/ruby/1.8/gems/unf-0.0.5/lib/unf/normalizer.rb
unf-0.0.5-jruby lib/unf/normalizer.rb
unf-0.0.5 lib/unf/normalizer.rb
domo-0.0.5 vendor/bundle/ruby/1.9.1/gems/unf-0.0.4/lib/unf/normalizer.rb
unf-0.0.4 lib/unf/normalizer.rb