基本语句
输出语句
print "hello..."
print "hello..."
---
hello...hello...
puts
puts "hello..."
puts "hello..."
---
hello...
hello...
p
p "hello..."
p "hello..."
---
"hello..."
"hello..."
字符串中变量引用
user_name = "yxy"
puts "邢台第一刀客:#{user_name}"
---
邢台第一刀客:yxy