Skip to content

Instantly share code, notes, and snippets.

@EsterKais
EsterKais / a_slideshow.md
Last active May 31, 2017 17:58
Workshop: Rocking at Ruby

Installation Guide

Mac

Open your terminal: cmd + space and type terminal.

Maybe I already have Ruby!?

First type in ruby -v, if you get a response to that showing something like: ruby 2.3.1 ... that means you already have Ruby and there is nothing else you need to do! Don't concern yourself with the numbers too much. This is the Ruby version, for our purpose, it does not really matter.

@EsterKais
EsterKais / Challenge1.rb
Created November 25, 2016 09:38
ChallengesForServiceSites
for number in 1..100
if number % 3 == 0 && number % 5 == 0
puts "MeowWoof!"
elsif number % 3 == 0
puts "Meow!"
elsif number % 5 == 0
puts "Woof!"
else
puts number
end