Module: ZebraPalindrome
Constant Summary collapse
- VERSION =
"0.1.24"
Instance Method Summary collapse
Instance Method Details
#palindrome? ⇒ Boolean
4 5 6 7 |
# File 'lib/zebra_palindrome.rb', line 4 def palindrome? !processed_content.empty? && processed_content == processed_content.reverse end |