ForkForge Unicode Library
Status: Minimum viable product
Features
Easy UTF-8 strings manipulation.
Up-/down-casing:
require 'forgkforge'
require 'forgkforge/knife/string'
'istanbul'.uppercase
#⇒ ISTANBUL
'istanbul'.uppercase 'tr'
#⇒ İSTANBUL
Forkforge::UnicodeData::code_points.math 'abc'
#⇒ Instance of CodePoints, a hash
"#{Forkforge::UnicodeData::code_points.math 'abc'}"
#⇒ 𝐚𝐛𝐜𝑎𝑏𝑐𝒂𝒃𝒄𝒶𝒷𝒸𝓪𝓫𝓬𝔞𝔟𝔠𝕒𝕓𝕔𝖆𝖇𝖈𝖺𝖻𝖼𝗮𝗯𝗰𝘢𝘣𝘤𝙖𝙗𝙘𝚊𝚋𝚌
(Forkforge::UnicodeData::code_points.math.franktur.bold 'abc').to_s
#⇒ 𝖆𝖇𝖈
"#{Forkforge::UnicodeData::code_points.franktur_math_bold 'abc'}"
#⇒ 𝖆𝖇𝖈
'1'.compose_circle
#⇒ ①
Installation
Add this line to your application's Gemfile:
gem 'forkforge'
And then execute:
$ bundle
Or install it yourself as:
$ gem install forkforge
Usage
Working features:
- uppercase
- lowercase
- titlecase
Contributing
- Fork it ( http://github.com/mudasobwa/forkforge/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