mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2025-08-05 14:27:51 +02:00
fix comment
This commit is contained in:
@@ -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
|
||||||
|
Reference in New Issue
Block a user