Add 'rb/heyo.rb'
This commit is contained in:
parent
e23c7cccd5
commit
7392913bbe
|
@ -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
|
Loading…
Reference in New Issue