Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Generate abbreviations from words
Ruby
Branch: master

README.md

abb

Build Status Gem Version

Description

Generate abbreviations from words

Features

  • initial word (acronym, initialism)
  • consonant, vowel

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.

Something went wrong with that request. Please try again.