Module: HauwaPalindrome
Constant Summary collapse
- VERSION =
"0.1.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.
6 7 8 |
# File 'lib/hauwa_palindrome.rb', line 6 def palindrome? processed_content == processed_content.reverse end |