Hacker News new | past | comments | ask | show | jobs | submit login

[flagged]



Note that you would almost never use the === directly - usually it is done by invoking a case statement, so it would be like

  case DateTime.now
  when Date.today..(Date.today + 1)
    .. do something
  else
    .. or not
  end


Sorry - this is pasted out of the article, and refers to a change in the semantics of the === operator for Ranges.




Join us for AI Startup School this June 16-17 in San Francisco!

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

Search: