Skip to content

Commit 734cdee

Browse files
authored
Sync concept docs with exercise (#1684)
1 parent 8a50bc9 commit 734cdee

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

concepts/symbols/about.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ The benefit of symbols being immutable is that they are more memory efficient th
4343

4444
Symbols can be converted to strings and vice versa.
4545
This can be useful when you want to modify a symbol, or when you want to use a symbol as a string.
46-
To present a symbol as a string, you can use the `String#to_sym` method, and to do the opposite, you can use the `Symbol#to_s` method.
46+
To present a string as a symbol, you can use the `String#to_sym` method, and to do the opposite, you can use the `Symbol#to_s` method.
4747
Due to symbols having a limited set of methods, it can be useful to convert a symbol to a string to use string methods on it, if a new symbol is needed.
4848

4949
```ruby

concepts/symbols/introduction.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ The benefit of symbols being immutable is that they are more memory efficient th
4343

4444
Symbols can be converted to strings and vice versa.
4545
This can be useful when you want to modify a symbol, or when you want to use a symbol as a string.
46-
To present a symbol as a string, you can use the `String#to_sym` method, and to do the opposite, you can use the `Symbol#to_s` method.
46+
To present a string as a symbol, you can use the `String#to_sym` method, and to do the opposite, you can use the `Symbol#to_s` method.
4747
Due to symbols having a limited set of methods, it can be useful to convert a symbol to a string to use string methods on it, if a new symbol is needed.
4848

4949
```ruby

0 commit comments

Comments
 (0)