Skip to content

Instantly share code, notes, and snippets.

View ryanholm's full-sized avatar

Ryan Holm ryanholm

View GitHub Profile
@ryanholm
ryanholm / if statements
Last active August 29, 2015 14:02
BLOC if statements
#CP1
def favorite_number(fav,guess)
if guess < fav
"Too low"
elsif guess > fav
"Too high"
elsif guess == fav
"You got it!"
end