mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2025-04-26 23:23:55 +00:00
fix comment
This commit is contained in:
parent
8a6a3db546
commit
4af377e970
@ -158,7 +158,7 @@ status == 'pending' #=> false
|
|||||||
|
|
||||||
status == :approved #=> false
|
status == :approved #=> false
|
||||||
|
|
||||||
Strings can be converted into symbols and vice versa:
|
# Strings can be converted into symbols and vice versa:
|
||||||
|
|
||||||
status.to_s #=> "pending"
|
status.to_s #=> "pending"
|
||||||
"argon".to_sym #=> :argon
|
"argon".to_sym #=> :argon
|
||||||
|
Loading…
Reference in New Issue
Block a user