puts, print, and interpolation
This commit is contained in:
parent
b50968950e
commit
1416451644
3
wikibooks-tutorial/strings.rb
Normal file
3
wikibooks-tutorial/strings.rb
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
print "Enter name: "
|
||||||
|
name = gets.chomp
|
||||||
|
puts "Your name is #{name}"
|
Loading…
Reference in New Issue
Block a user