chore: import upstream snapshot with attribution

This commit is contained in:
wehub-resource-sync
2026-07-13 12:22:17 +08:00
commit 4d7ba00a23
95 changed files with 6907 additions and 0 deletions
+14
View File
@@ -0,0 +1,14 @@
=begin
# The famous Hello World
# Program is trivial in
# Ruby. Superfluous:
#
# * A "main" method
# * Newline
# * Semicolons
#
# Here is the Code:
=end
puts "Hello World!"
+9
View File
@@ -0,0 +1,9 @@
# Output "I love Ruby"
say = "I love Ruby"; puts say
# Output "I *LOVE* RUBY"
say['love'] = "*love*"; puts say.upcase
# Output "I *love* Ruby", 5 times
5.times { puts say }
+6
View File
@@ -0,0 +1,6 @@
puts(2 ** 1)
puts(2 ** 2)
puts(2 ** 3)
puts(2 ** 10)
puts(2 ** 100)
puts(2 ** 1000)