"To a"의 두 판 사이의 차이

(새 문서: ;to_a ==Ruby== category: Ruby <source lang='Ruby'> print (1..4).to_a # [1, 2, 3, 4] </source> ==같이 보기== *to_sym *to_s)
 
 
9번째 줄: 9번째 줄:


==같이 보기==
==같이 보기==
*[[for]]
*[[to_sym]]
*[[to_sym]]
*[[to_s]]
*[[to_s]]

2014년 6월 1일 (일) 02:58 기준 최신판

to_a

1 Ruby[ | ]

print (1..4).to_a
# [1, 2, 3, 4]

2 같이 보기[ | ]

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