Add a tip for palindrome
rlmoser99 opened this issue · comments
ruby_rspec_TOP/spec/09_custom_matcher.rb
Line 37 in 3a6448d
Add a tip to use the following in the custom matcher:
{ |string| string.reverse == string }
A tutorial that I developed for students at The Odin Project to learn RSpec.
rlmoser99 opened this issue · comments
ruby_rspec_TOP/spec/09_custom_matcher.rb
Line 37 in 3a6448d
Add a tip to use the following in the custom matcher:
{ |string| string.reverse == string }