From 647f6c6036564bcf9187a863df36c6df4bf0feaa Mon Sep 17 00:00:00 2001 From: nuntanunta5153 Date: Sat, 6 Mar 2021 23:09:40 +0900 Subject: [PATCH] =?UTF-8?q?=E6=8C=A8=E6=8B=B6=E3=82=92=E8=BF=BD=E5=8A=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sample.rb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sample.rb b/sample.rb index a3d96fa..bb41906 100644 --- a/sample.rb +++ b/sample.rb @@ -1,2 +1,5 @@ msg = "Hello World!" puts msg + +name = gets.chomp +puts "私の名前は#{name}です"