module BdibonPalindrome

Constants

VERSION

Public Instance Methods

letters() click to toggle source

a stub method is a method that does not work but at least exist

# File lib/bdibon_palindrome.rb, line 9
def letters
end
palindrome?() click to toggle source
# File lib/bdibon_palindrome.rb, line 4
def palindrome?
  processed_content == processed_content.reverse
end

Private Instance Methods

processed_content() click to toggle source
# File lib/bdibon_palindrome.rb, line 13
def processed_content
  to_s.scan(/\w+/).join.downcase
end