ruby and curly braces around statements johayek 14 years ago “In memory” of perl, ruby allows curly braces in “almost every place”, where perl allows it. But it does not allow it for function resp. method definitions, and not for if/elsif/else. There it enforces the keyword “end”. Correct me, if I’m wrong. Share this: