RubyGems.org

The palindrome check is achieved by first converting the integer to a string, then comparing it to the reversed value of that string

installgem install is_palindrome -v 1.0.1
Authors

Harisankar P S

2,549 total downloads 818 for this version
Owners

820e01609a9f8f0fc0d5167680625b93

Gemfile
gem 'is_palindrome', '~> 1.0.1'
Versions
  1. 1.0.2 October 23, 2012 (3.5 KB)
  2. 1.0.1 October 23, 2012 (3.5 KB)
  3. 1.0.0 October 23, 2012 (3.5 KB)