Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Generate abbreviations from words

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 examples
Octocat-spinner-32 lib
Octocat-spinner-32 test
Octocat-spinner-32 .gitignore
Octocat-spinner-32 .travis.yml
Octocat-spinner-32 Gemfile
Octocat-spinner-32 MIT-LICENSE
Octocat-spinner-32 README.md
Octocat-spinner-32 Rakefile
Octocat-spinner-32 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.