Add 'rb/heyo.rb'

This commit is contained in:
Sarimoko 2021-07-08 05:27:05 +00:00
parent e23c7cccd5
commit 7392913bbe
1 changed files with 10 additions and 0 deletions

10
rb/heyo.rb Normal file
View File

@ -0,0 +1,10 @@
puts 'Heyo! Hello world... Option: 1'
'Heyo! Hello world... Option: 2'.each { |s| print s }
class String
def say
puts self
end
end
'Heyo! Hello world... Option: 3'.say