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

  def proc &p
    p
  end
is what the special method looks like but yeah they’re not standalone expressions but rather part of the method call syntax.


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

Search: