summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorarngo <[email protected]>2022-01-13 22:49:13 -0500
committerarngo <[email protected]>2022-01-13 22:49:13 -0500
commitcc5b21837424190ee652fe6fe7051956caa48796 (patch)
treef9c96504b80fa9c3786050f6b124869a14fa1e52
parentc41e14e205332c2a00ec4f4b1fc9853fed5262f9 (diff)
downloadFelFlameEngine-cc5b21837424190ee652fe6fe7051956caa48796.tar.gz
FelFlameEngine-cc5b21837424190ee652fe6fe7051956caa48796.zip
example game with require statement
-rw-r--r--game/lib/hello.rb1
-rw-r--r--game/main.rb2
2 files changed, 3 insertions, 0 deletions
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