Skip to content

psq/ean

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

= ean

* http://blog.nanorails.com/ean-upc
* http://rubyforge.org/projects/ean/

== DESCRIPTION:

Provide validation/generation for UPC/EAN/GTIN numbers

== FEATURES/PROBLEMS:

* Validate UPC/EAN/GTIN identifiers

* Generate check number for UPC/EAN/GTIN identifiers

== SYNOPSIS:

  require "rubygems"
  require "ean"

  "1234567890128".to_gtin
  
  "1-234567-890128".ean?

  "1234567890128".to_gtin.ean?

  "784794001602".generate_check_digit

== REQUIREMENTS:

* hoe 1.5 (to rebuild)

== INSTALL:

* sudo gem install ean

== SOURCE CODE
http://gitorious.org/ean
http://github.com/psq/ean

About

EAN/UPC/GTIN calculations for Ruby

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages