Skip to content

gwu1/consistent_company_ruby

Repository files navigation

consistent_company_ruby

A pure Ruby implementation of a gem 'consistent_company' that is a Ruby C Extension. Since C-extensions are not really supported in JRuby, for some JRuby users like me, here is an alternative if you want to use 'consistent_company' gem. It takes a Company Name string and replaces it with a normalized compressed version. The replaced name is not for human consumption, but for comparing other similar names to find matches.

Install:

gem install consistent_company_ruby

Usage:

A namer method is added to the string class.

>> require 'consistent_company_ruby'
=> true
>> 'First Federal Savings'.namer
=> '1STFEDERALSAVINGS'

Acknowledgments

Copyright

See LICENSE for further details.

About

Ruby implementation to make company names consistent for comparison purposes. (https://rubygems.org/gems/consistent_company_ruby)

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Packages

No packages published

Languages