Skip to content

Latest commit

 

History

History
11 lines (8 loc) · 305 Bytes

README.md

File metadata and controls

11 lines (8 loc) · 305 Bytes

ruby tests and projects

small projects and katas in ruby with rspec

examples at https://repl.it/@chrisjkellett/ruby-playground

histogram

counts the frequency of words in a given string and returns a hash of the results

  word_counter('hello hello world') # {"hello" => 2, "world" => 1}