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

If you indent something a little,

 it will look like this
 as you would expect from
 a <pre> tag


Ahhh, I tried that, but apparently it doesn't work if you do it on the first line. So here it is, not on the first line.

  def return_three_values
    "1,2,3".split(',')
  end
  a, b, c = return_three_values




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

Search: