Skip to content
loading...

re: Daily Challenge #138 - Do I get a Bonus? VIEW POST

TOP OF THREAD FULL DISCUSSION
re: String interpolation calls to_s by itself, no need to explicitly do it. :-) "$#{getting_bonus ? base_salary * 10 : base_salary}" But since mu...
 

lol, haven't used Ruby in a while so I wanted to be sure (though, now that you mention it, implicitly converting to string in interpolation makes sense :)

Clever on adding a zero!

code of conduct - report abuse