You are so clever :D
godamit i knew it ! LOL
why are you so good
This comment is hidden because it contains spoiler information about the solution
It's the * operator e.g. 2 * 3 = 6
Find out more about this solution by inspecting: https://apidock.com/ruby/Enumerable/reduce
What is the (:*) called? I'd like to learn about it. Thanks.
This was the first thing I tried, but I kept getting errors. It worked fine in VSCode on my computer, but would not work on here.
ARRRRRGGGGHHHH why didn't I think of that 😂
How does &:first works? please :)
swag bro yoo
The de-facto community style guide for Ruby suggests using parens if the method accepts paramters and leaving off the parens if the method takes no parameters.
why are you so good?
Question: Is is idiomatic in ruby to leave off the parens around the method params?