Skip to content

Commit 4567380

Browse files
authored
isogram: update solution to pass current tests. (#669)
1 parent 65365c1 commit 4567380

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

exercises/isogram/.meta/solutions/isogram.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
module BookKeeping
2-
VERSION = 3
2+
VERSION = 4
33
end
44

55
class Isogram
6-
def self.is_isogram?(str)
6+
def self.isogram?(str)
77
letters = str.downcase.gsub(/[[:punct:]]| /, '').chars
88
letters == letters.uniq
99
end

0 commit comments

Comments
 (0)