lib/cnimon_palindrome.rb in cnimon_palindrome-0.2.0 vs lib/cnimon_palindrome.rb in cnimon_palindrome-0.3.0

- old
+ new

@@ -1,10 +1,10 @@ require "cnimon_palindrome/version" module CnimonPalindrome # Returns true for a palindrome, false otherwise. def palindrome? - processed_content == processed_content.reverse + processed_content == processed_content.reverse && !processed_content.empty? end private # Returns content for palindrome testing.