Module: EvanlsolomonPalindrome
- Defined in:
- lib/evanlsolomon_palindrome.rb,
lib/evanlsolomon_palindrome/version.rb
Constant Summary collapse
- VERSION =
"0.2.0"
Instance Method Summary collapse
-
#palindrome? ⇒ Boolean
Returns true for a palindrome, false otherwise.
Instance Method Details
#palindrome? ⇒ Boolean
Returns true for a palindrome, false otherwise.
5 6 7 |
# File 'lib/evanlsolomon_palindrome.rb', line 5 def palindrome? processed_content == processed_content.reverse end |