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?

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)

Authors:

  • Harisankar P S

Owners:

820e01609a9f8f0fc0d5167680625b93

Total downloads 2,627

For this version 956

Required Ruby Version: None

Licenses:

N/A

Gemfile:
gem 'is_palindrome', '~> 1.0.2' = Copy to clipboard Copied!

install:
gem install is_palindrome = Copy to clipboard Copied!

Links: