RUBY
SLIDESHOW
ABOUT
CHECK IT OUT ON GITHUB
Ruby was assigned to me and a teammate to practice tech demos. We had a weekend to complete our presentation. My teammate covered Ruby's history and I learned Ruby and developed a simple slideshow program to demonstrate the language.
It was important to heavily comment the program so that the class could see the code as well as its executed abstraction in the terminal and follow along.
I covered the four OOP pillars and the syntax used in Ruby to accomplish them, as well as examples of other things that I found interesting.
It felt great to pick the language up quickly and produce something that not only ran but accomplished its intended goal.
PROCESS
I watched a bunch of videos going over the basics and read the documentation. I used what I had learned from creating the displays for Hammurabi and the Scientific Calculator and used a ASCII frame as a guide.
Functions were made to draw the frame, notice slide titles, and align the text evenly within the frame. The frame drawing function took in an array of strings as its argument. Those arrays were the texts for the slides.
Screen clearing and key press to continue were added into the function call of the app to mimic the slideshow experience.
I then created another Ruby file to show the OOP pillars in action, all of which were heavily commented. Thanks to the extensive documentation and help sites out there, Ruby was fun and easy to pick up.
FUTURE PLANS
IDEs
The presentation was developed in JetBrains Rubymine and I've since let the free trial lapse. I'd like to work on getting it to work in VSCode.
As for the program its self, I don't plan on developing it further. I think it was just what it needed to be, but I do really want to make something else using Ruby or Ruby on Rails in the near future!