An open API service indexing awesome lists of open source software.

https://github.com/tedlivist/sub_strings

This is a Ruby challenge that solves the Sub Strings Challenge as described on the Odin Project. The function takes a string and a defined dictionary and returns a hash containing the number of times each word in the string occurs in dictionary.
https://github.com/tedlivist/sub_strings

Last synced: 8 months ago
JSON representation

This is a Ruby challenge that solves the Sub Strings Challenge as described on the Odin Project. The function takes a string and a defined dictionary and returns a hash containing the number of times each word in the string occurs in dictionary.

Awesome Lists containing this project

README

          

#### This is my solution to the Sub Strings Exercise on the Ruby Track on Odin Project

> An initial dictionary of words is provided.
> The function takes a string and the predefined dictionary and returns the number of times each word in the string occurs in the dictionary.

[The challenge can be found here](https://www.theodinproject.com/paths/full-stack-ruby-on-rails/courses/ruby-programming/lessons/sub-strings).