From 487478553a8cda1d283492cfb2fee6844f13fabf Mon Sep 17 00:00:00 2001 From: Alex Kotov Date: Tue, 29 Nov 2022 00:14:35 +0400 Subject: [PATCH] Make Ruby module more complex --- rootfs/boot/hello.rb | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/rootfs/boot/hello.rb b/rootfs/boot/hello.rb index dee9a5c..e7a14ea 100644 --- a/rootfs/boot/hello.rb +++ b/rootfs/boot/hello.rb @@ -1 +1,4 @@ -console_puts 'Hello, World! Ruby modules work!' +hello = 'Hello, World!' +works = 'Ruby modules work!' +s = [hello, works].join ' ' +console_puts s