From 14cc02dbd94a676982c357c381cf5b9aae57ff30 Mon Sep 17 00:00:00 2001 From: Mark24Code Date: Thu, 27 Jun 2024 18:58:23 +0800 Subject: [PATCH] feat: sample --- src/lib/a.rb | 2 +- src/lib/b.rb | 2 +- src/main.rb | 10 +++++++--- 3 files changed, 9 insertions(+), 5 deletions(-) diff --git a/src/lib/a.rb b/src/lib/a.rb index af88718..5a95104 100644 --- a/src/lib/a.rb +++ b/src/lib/a.rb @@ -1 +1 @@ -puts "a" +# puts "a" diff --git a/src/lib/b.rb b/src/lib/b.rb index cf63f3c..08e5e68 100644 --- a/src/lib/b.rb +++ b/src/lib/b.rb @@ -1 +1 @@ -puts "b" +# puts "b" diff --git a/src/main.rb b/src/main.rb index b9efd0a..440f2cb 100644 --- a/src/main.rb +++ b/src/main.rb @@ -1,3 +1,7 @@ -puts "hello world" - -puts OS.machine +puts "===== Run Success ======" +puts "Hello World" +puts "Powered by mruby 3.0.0" +puts "===== System Info ======" +puts "Kernel: #{OS.sysname}-#{OS.machine}" +puts "Bit: #{OS.bits}" +puts "Posix: #{OS.posix?}"