Skip to content

HTTPS clone URL

Subversion checkout URL

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

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
examples
lib
test
.gitignore
.travis.yml
Gemfile
MIT-LICENSE
README.md
Rakefile
abb.gemspec

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.