From 7392913bbefba5026a6827eded9bf220fb463ded Mon Sep 17 00:00:00 2001 From: Sarimoko Date: Thu, 8 Jul 2021 05:27:05 +0000 Subject: [PATCH] Add 'rb/heyo.rb' --- rb/heyo.rb | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 rb/heyo.rb diff --git a/rb/heyo.rb b/rb/heyo.rb new file mode 100644 index 0000000..a795720 --- /dev/null +++ b/rb/heyo.rb @@ -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 \ No newline at end of file