Symbol to string

Jmnote (토론 | 기여)님의 2014년 5월 31일 (토) 23:16 판
symbol to string

1 Ruby

my_symbol = :hello
str = my_symbol.to_s
print str
# hello

2 같이 보기

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}