From cc5b21837424190ee652fe6fe7051956caa48796 Mon Sep 17 00:00:00 2001 From: arngo <27396817+arngo@users.noreply.github.com> Date: Thu, 13 Jan 2022 22:49:13 -0500 Subject: example game with require statement --- game/lib/hello.rb | 1 + game/main.rb | 2 ++ 2 files changed, 3 insertions(+) create mode 100644 game/lib/hello.rb create mode 100644 game/main.rb diff --git a/game/lib/hello.rb b/game/lib/hello.rb new file mode 100644 index 0000000..fd184d5 --- /dev/null +++ b/game/lib/hello.rb @@ -0,0 +1 @@ +puts 'hello' diff --git a/game/main.rb b/game/main.rb new file mode 100644 index 0000000..079d298 --- /dev/null +++ b/game/main.rb @@ -0,0 +1,2 @@ +require 'lib/hello.rb' +Ye.c_method -- cgit v1.2.3