uklatn 1.13.0 → 1.13.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/uklatn.rb +9 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: dc2e5bb8894085c239a35f8a282b17bd2cf0e1f570b900399c8cae0bc207e77f
|
4
|
+
data.tar.gz: 1b652ce18442d0259f52bc2387236beb42d57d205db4868c1adc51cef3d64c94
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 943af62643c2158fe108ddc0d56f9626806717949bf4163f03e9437ae3fc72b3738d81b8a922c3ad699428642779d84b42eb1f7f91f1c8299b8f0e44ccae029d
|
7
|
+
data.tar.gz: e74ae45660508286a29b6fdde33d40aa1a5460c44a762ac784819584ed45f39b34bb03c1a2ba538c3477f4e460c42ebe70dc956a57890996d5be8d3bcd04b3ba
|
data/lib/uklatn.rb
CHANGED
@@ -6,6 +6,15 @@
|
|
6
6
|
# - 'DSTU_9112_A': DSTU 9112:2021 System A
|
7
7
|
# - 'DSTU_9112_B': DSTU 9112:2021 System B
|
8
8
|
# - 'KMU_55': KMU 55:2010, not reversible
|
9
|
+
#
|
10
|
+
# Usage:
|
11
|
+
# tr = UkrainianLatin.new
|
12
|
+
# tr.encode('Доброго вечора!')
|
13
|
+
# tr.decode('Paljanycja')
|
14
|
+
#
|
15
|
+
# Select a transliteration scheme:
|
16
|
+
# tr.encode('Борщ', 'DSTU_9112_A')
|
17
|
+
#
|
9
18
|
class UkrainianLatin
|
10
19
|
|
11
20
|
# Transliterates a string of Ukrainian Cyrillic to Latin script.
|