ANSEL
TODO Write a description here
Installation
Add this to your application's shard.yml
:
dependencies:
ansel:
github: maxpowa/ansel
Usage
require "ansel"
ANSEL::Converter.convert("UTF-8 string") # Outputs String of ANSEL bytes
ANSEL::Converter.convert("String of ANSEL bytes", to_charset: "UTF-8") # Outputs String of UTF-8 bytes
ANSEL::Converter.convert("UTF-8 string", output_io: STDOUT) # Outputs ANSEL bytes to STDOUT
ANSEL::Converter.convert("String of ANSEL bytes", output_io: STDOUT, to_charset: "UTF-8") # Outputs UTF-8 bytes to STDOUT
Development
Don't?
Contributing
- Fork it ( https://github.com/maxpowa/ansel/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