ruby

hayden·2022년 10월 13일
0


literal 리터럴 (リテラル)

싱글 쿼테이션 더블 쿼테이션 차이
single quote double quote

'i am #{first_name}'
-> i am #{first_name}

"i am #{first_name}"
-> i am hayden

if and unless if 의반대 unless

if -> true
unless -> false
profile
22.12.01 코딩공부기록저장소

0개의 댓글