Unicode handling library
Ruby Gherkin
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
bin
config
features
lib
media
.gitignore
.rubocop.yml
.rubocop_todo.yml
.travis.yml
.yardopts
Gemfile
LICENSE.txt
README.md
Rakefile
forkforge.gemspec

README.md

logo ForkForge Unicode Library

Build Status Gemnasium Stories in Ready

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

  1. Fork it ( http://github.com/mudasobwa/forkforge/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 new Pull Request