Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

  note Because solution is a Proc, you cannot prematurely return out of it
  and as a result, must put an implicit return on the last line of the solution block.
Maybe not return, but you can `next`: `next true if repo.valid?` works fine within Procs.


Thanks, I'll check out into this solution.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: