Sha256: 6162a717944e4907d8e7bc9a10ea55e34b3d43ec0012ff7886793f85aaf63802
Contents?: true
Size: 1.01 KB
Versions: 1
Compression:
Stored size: 1.01 KB
Contents
# Mmfont A simple gem which converts zawgyi1 <=> unicode strings. ## Installation Add this line to your application's Gemfile: ```ruby gem 'mmfont' ``` And then execute: ```bash $ bundle ``` Or install it yourself as: ```bash $ gem install mmfont ``` ## Usage ```ruby require 'mmfont' a = Mmfont::Converter.new a.uni512zg1("မင်္ဂလာပါ") # returns zg strings "မဂၤလာပါ" a.zg12uni51("မဂၤလာပါ") # returns unicode strings "မင်္ဂလာပါ" ``` ## Is it fast ? I am not sure. But of course, Ruby is basically slow, regardless of implementations, compared to Nodejs, Go, Rust etc. Feel free to send me some bunchmarks. ## TODO - ~~Write TESTS!~~ ## Contributing 1. Fork it ( https://github.com/[my-github-username]/mmfont/fork ) 2. Create your feature branch (`git checkout -b my-new-feature`) 3. Commit your changes (`git commit -am 'Add some feature'`) 4. Push to the branch (`git push origin my-new-feature`) 5. Create a new Pull Request ## License MIT
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
mmfont-1.0.0 | README.md |