first commit

This commit is contained in:
julien committed 2026-10-13 18:54:55 +02:00
commit f6abf65e91
10 files changed
+346

No files matched your search

+21
View File
@@ -0,0 +1,21 @@
#!/usr/bin/env ruby
class Hello
def hello(name)
puts "Hello #{name}!"
end
def hello_everybody(names)
names.each do |name|
hello(name)
end
end
end
greeter = Hello.new
greeter.hello("Biblo")
puts
greeter.hello_everybody(["Pipin", "Merry", "Sam"])