Sha256: a276cc6c523a5f46c58271d91d0ea4181bde044a5ab9b2853e246356aee80208
Contents?: true
Size: 791 Bytes
Versions: 3
Compression:
Stored size: 791 Bytes
Contents
# LgrgicPalindromeDetector ## Installation Add this line to your application's Gemfile: ```ruby gem 'lgrgic_palindrome_detector' ``` And then execute: $ bundle Or install it yourself as: $ gem install lgrgic_palindrome_detector ## Usage `lgrgic_palindrome_detector` adds a `palindrome?` method to the `String` class, and can be used as follows: ``` $ irb >> require 'lgrgic_palindrome_detector' >> "honey badger".palindrome? => false >> "deified".palindrome? => true >> "Able was I, ere I saw Elba.".palindrome? => true >> phrase = "Madam, I'm Adam." >> phrase.palindrome? => true ``` ## License The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
Version data entries
3 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
lgrgic_palindrome_detector-0.2.0 | README.md |
lgrgic_palindrome_detector-0.2.0 | vendor/cache/gems/lgrgic_palindrome_detector-0.1.0/README.md |
lgrgic_palindrome_detector-0.1.0 | README.md |