Class: String
- Inherits:
-
Object
- Object
- String
- Defined in:
- lib/christian_palindrome.rb
Instance Method Summary collapse
Instance Method Details
#palindrome? ⇒ Boolean
8 9 10 |
# File 'lib/christian_palindrome.rb', line 8 def palindrome? processed_content == processed_content.reverse end |