Simple CharDiff class written in Ruby
- str1, str2 - words to compare
Returns number of differ characters between two words in the same position
str1 & str2:
- can not be empty
- must have the same number of characters
- must be strings
- must be words (only alpha characters)
(C) Copyright by Łukasz Szeremeta 2014