Ruby Examples
This commit is contained in:
10
level5/45.rb
Executable file
10
level5/45.rb
Executable file
@@ -0,0 +1,10 @@
|
||||
#!/usr/bin/ruby
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
=begin
|
||||
문자열 배열을 하나의 문자열로 합치기
|
||||
=end
|
||||
|
||||
array = ["Hello", "World"]
|
||||
|
||||
puts array.join(" ")
|
||||
Reference in New Issue
Block a user