Skip to content

Commit 9c70cc1

Browse files
Update src/ruby/README.md
fixed syntax error in Ruby's readme doc
1 parent a7d0aee commit 9c70cc1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/ruby/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ For loop is used to iterate a set of statements based on a condition.
8686
for variable in expression do
8787
# code
8888
end
89-
````
89+
`````
9090
##### While:
9191

9292
While is also used to iterate a set of statements based on a condition. Usually while is preferred when number of iterations are not known in advance.
@@ -95,7 +95,7 @@ While is also used to iterate a set of statements based on a condition. Usually
9595
while condition do
9696
# code
9797
end
98-
````
98+
`````
9999
##### Do-while:
100100
Do-while is also used to iterate a set of statements based on a condition. It is mostly used when you need to execute the statements atleast once.
101101

@@ -104,4 +104,4 @@ loop do
104104
#code
105105
break if conditional-expression
106106
end
107-
````
107+
`````

0 commit comments

Comments
 (0)