From d0d0fe4995d5be0bc7d1bc749c959468dec2f35c Mon Sep 17 00:00:00 2001 From: Chris Zimmerman Date: Tue, 1 Oct 2019 16:45:47 -0400 Subject: [PATCH] en/ruby - Adds documentation for multiline comments --- ruby.html.markdown | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/ruby.html.markdown b/ruby.html.markdown index d77672ab..b36d1526 100644 --- a/ruby.html.markdown +++ b/ruby.html.markdown @@ -23,6 +23,15 @@ contributors: ```ruby # This is a comment +=begin +This is a multi-line comment. +The beginning line must start with "=begin" +and the ending line must start with "=end". + +You can do this, or start each line in +a multi-line comment with the # character. +=end + # In Ruby, (almost) everything is an object. # This includes numbers... 3.class #=> Integer