Module: Babosa

Defined in:
lib/babosa.rb,
lib/babosa/version.rb,
lib/babosa/identifier.rb,
lib/babosa/utf8/proxy.rb,
lib/babosa/utf8/mappings.rb,
lib/babosa/utf8/dumb_proxy.rb,
lib/babosa/utf8/java_proxy.rb,
lib/babosa/utf8/unicode_proxy.rb,
lib/babosa/transliterator/base.rb,
lib/babosa/transliterator/greek.rb,
lib/babosa/transliterator/hindi.rb,
lib/babosa/transliterator/latin.rb,
lib/babosa/transliterator/danish.rb,
lib/babosa/transliterator/german.rb,
lib/babosa/transliterator/russian.rb,
lib/babosa/transliterator/serbian.rb,
lib/babosa/transliterator/spanish.rb,
lib/babosa/transliterator/swedish.rb,
lib/babosa/transliterator/turkish.rb,
lib/babosa/transliterator/cyrillic.rb,
lib/babosa/transliterator/romanian.rb,
lib/babosa/transliterator/bulgarian.rb,
lib/babosa/transliterator/norwegian.rb,
lib/babosa/transliterator/ukrainian.rb,
lib/babosa/transliterator/macedonian.rb,
lib/babosa/transliterator/vietnamese.rb,
lib/babosa/utf8/active_support_proxy.rb

Defined Under Namespace

Modules: Transliterator, UTF8, Version Classes: Identifier

Constant Summary collapse

STRIPPABLE =

Codepoints for characters that will be deleted by #word_chars!.

[0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 11, 12, 14, 15, 16, 17, 18, 19,
20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 33, 34, 35, 36, 37, 38, 39,
40, 41, 42, 43, 44, 45, 46, 47, 58, 59, 60, 61, 62, 63, 64, 91, 92, 93, 94,
96, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136,
137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151,
152, 153, 154, 155, 156, 157, 158, 159, 161, 162, 163, 164, 165, 166, 167,
168, 169, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 182, 183, 184,
185, 187, 188, 189, 190, 191, 215, 247, 8203, 8204, 8205, 8239, 65279]

Class Method Summary collapse

Class Method Details

.jruby15?Boolean

Returns:

  • (Boolean)

2
3
4
# File 'lib/babosa.rb', line 2

def self.jruby15?
  JRUBY_VERSION >= "1.5" rescue false
end