RubyGems Navigation menu

is_palindrome 1.0.2

The palindrome check is achieved by first converting the integer to a string, then comparing it to the reversed value of that string. Eg :- 5.palindrome?

Gemfile
          gem 'is_palindrome', '~> 1.0.2'
  
  
  
  
  
  
  

install
          gem install is_palindrome
  
  
  
  
  
  
  

Authors:

  • Harisankar P S

Owners:

Total downloads 2,615

For this version 953

Required Ruby Version: None

Links:

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)