main.rb92 chars8 lines
This method named is_cool
takes in a string as an argument and uses a conditional statement to compare if that string equals the word 'cool'
. If the string is 'cool'
, then the method returns true
, otherwise it returns false
.
gistlibby LogSnag