Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
@amrdraz, either make all test cases in ruby pass one argument, or specify that 0 arguments may be passed. Anything else is dishonest.
I get the same error. I am passing calling always(3) in my tests an it works. When I click submit I get this error. It is my first kata, first time in this site. I wonder if there is a way to see the tests executed when I click submit.
@rdssdded @amrdaz : No, my code won't run if no arguments are passed to
always
. According to the instructions,always
has one argument. Why does the provided Ruby test case callalways
without an argument?The error is indicating that no arguments are being passed to function
always
. Would your test in IRB still run if there were no arguments passed to functionalways
?I have an error of "
always': wrong number of arguments (0 for 1) (ArgumentError) from
"when I execute my program. I am using Procs in Ruby. Tested in irb, works fine, does anybody else have that issue?
thx u2
Nice job m8 ;)