Wylie
TODO: Write a gem description
Installation
Add this line to your application's Gemfile:
gem 'wylie'
And then execute:
$ bundle
Or install it yourself as:
$ gem install wylie
Usage
You can just write converter = Wylie::Converter.new
and then converter.tibetan("bsgrubs ")
. the output will be a Tibetan encoded string.
You can also use a helper in a rails app to convert wylie in your views
module TibetanHelper
TIBETAN_CONVERTER = Wylie::Converter.new
def to_tibetan(phrase)
TIBETAN_CONVERTER.tibetan(phrase)
end
end
Contributing
- Fork it ( http://github.com/bluevajra/wylie/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 new Pull Request