BaseHangul
BaseHangul for Ruby. BaseHangul is an binary encoder using hangul. You can see the specification of it.
Installation
Add this line to your application's Gemfile:
gem 'basehangul'
And then execute:
bundle
Or install it yourself as:
gem install basehangul
Usage
BaseHangul.encode('This is an encoded string')
# => "넥라똔먈늴멥갯놓궂뗐밸뮤뉴뗐뀄굡덜멂똑뚤"
BaseHangul.decode('넥라똔먈늴멥갯놓궂뗐밸뮤뉴뗐뀄굡덜멂똑뚤')
# => "This is an encoded string"
Contributing
- Fork it (https://github.com/yous/basehangul/fork)
- Create your feature branch (
git checkout -b my-new-feature) - Commit your changes (
git commit -am 'Add some feature') - Push to the branch (
git push origin my-new-feature) - Create a new Pull Request
Changelog
See CHANGELOG.md.
License
Copyright (c) ChaYoung You. See LICENSE.txt for further details.