Skip to content

This repository was created host a code test to a Ruby on Rails developer at thymebase.com

Notifications You must be signed in to change notification settings

rannyeribatista/text_highlighter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Text Highlighter 📖 🖊️

Made by Rannyeri Baptist for an application test at https://www.thymebase.com/. 🚀

Running the project ⚙️

To run the project, the only thing you need installed in your system is Ruby. If you need to install it check this guide.

After installing Ruby in your machine, just clone this repo anywhere in your system and navigate to the root path of the project and run the following command in your command prompt.

$ ruby highlighter.rb

That's it! When the script finishes, it will automatically create a HTML file in the same directory of the highlighter script, so you can see the results.

To change the outcome, you can simply open the highlighter.rb file in your favorite text editor and change the text variable in the top of the file, and/or the highlights variable.

Enjoy ;)

About

This repository was created host a code test to a Ruby on Rails developer at thymebase.com

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published