class String
Public Instance Methods
unique_words()
click to toggle source
# File lib/first_gem_jordpo.rb, line 8 def unique_words split.uniq end
word_count()
click to toggle source
# File lib/first_gem_jordpo.rb, line 4 def word_count split.count end