Sha256: 2bf4be5ed1f77ab97e591b9281e860308153fb4234ac4163f04e15ad9d50e150

Contents?: true

Size: 871 Bytes

Versions: 3

Compression:

Stored size: 871 Bytes

Contents

# Palindrome detector

`torischuyler_palindrome` is a sample Ruby gem created in [*Learn Enough Ruby to Be Dangerous*](https://www.learnenough.com/ruby-tutorial) by Michael Hartl.

## Installation

Add this line to your application's Gemfile:

```ruby
gem 'torischuyler_palindrome'
```

And then execute:

    $ bundle install

Or install it yourself as:

    $ gem install torischuyler_palindrome

## Usage

`torischuyler_palindrome` adds a `palindrome?` method to the `String` class, and can be used as follows:

```
$ irb
>> require 'mhartl_palindrome'
>> "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 3 versions & 1 rubygems

Version Path
torischuyler_palindrome-0.3.0 README.md
torischuyler_palindrome-0.2.0 README.md
torischuyler_palindrome-0.1.0 README.md