Ruby Examples
This commit is contained in:
10
level4/32.rb
Executable file
10
level4/32.rb
Executable file
@@ -0,0 +1,10 @@
|
||||
#!/usr/bin/ruby
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
=begin
|
||||
해시에서 특정 키의 값 출력
|
||||
=end
|
||||
|
||||
person = { name: "Charlie", age: 13 }
|
||||
|
||||
puts person[:name]
|
||||
Reference in New Issue
Block a user