View on GitHub

abb

Generate abbreviations from words

download .ZIPdownload .TGZ

abb

Build Status Gem Version

Description

Generate abbreviations from words

Features

Usage

Basic API

require 'abb'

Abb.fold('google') #=> "ggl"

Extended

require 'abb/core_ext'


'google'.abb  #=> "ggl"
'Japan'.abb   #=> "Jpn"
'American Standard Code for Information Interchange'.abb  #=> "ASCII"

Requirements

Install

$ gem install abb

Link

License

The MIT X11 License
See MIT-LICENSE for further details.