From 0e2ea0c2ebba23dd153130191527cf66acad009e Mon Sep 17 00:00:00 2001 From: hiteshbedre <32206192+hiteshbedre@users.noreply.github.com> Date: Tue, 14 Sep 2021 00:40:17 +0530 Subject: [PATCH] Comments : Ruby : Skip code under multi-line commented portion (#394) --- RulesEngine/Resources/comments.json | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/RulesEngine/Resources/comments.json b/RulesEngine/Resources/comments.json index 3240ef3..c3bffcd 100644 --- a/RulesEngine/Resources/comments.json +++ b/RulesEngine/Resources/comments.json @@ -27,7 +27,6 @@ "perl6", "r", "shellscript", - "ruby", "yaml", "powershell", "python" @@ -52,5 +51,13 @@ "vb" ], "inline": "'" + }, + { + "language": [ + "ruby" + ], + "inline": "#", + "prefix": "=begin", + "suffix": "=end" } -] \ No newline at end of file +]