summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorrealtradam <[email protected]>2022-01-04 12:21:11 -0500
committerrealtradam <[email protected]>2022-01-04 12:21:11 -0500
commit3a3873aa1742192fdcd2f4b5649e21ccfda77c3a (patch)
tree18397ebb93cad595a4dcdbe60739cb0074d9de8c
downloadsample-mruby-gem-3a3873aa1742192fdcd2f4b5649e21ccfda77c3a.tar.gz
sample-mruby-gem-3a3873aa1742192fdcd2f4b5649e21ccfda77c3a.zip
.
-rw-r--r--mrbgem.rake5
-rw-r--r--mrblib/example.rb5
2 files changed, 10 insertions, 0 deletions
diff --git a/mrbgem.rake b/mrbgem.rake
new file mode 100644
index 0000000..2a79d1b
--- /dev/null
+++ b/mrbgem.rake
@@ -0,0 +1,5 @@
+MRuby::Gem::Specification.new('my_silly_extension') do |spec|
+ spec.license = 'MIT'
+ spec.author = 'Tradam'
+ spec.summary = 'Example mrbgem using ruby'
+end
diff --git a/mrblib/example.rb b/mrblib/example.rb
new file mode 100644
index 0000000..8460b32
--- /dev/null
+++ b/mrblib/example.rb
@@ -0,0 +1,5 @@
+class Test
+ def does_it_work?
+ puts "yes it does"
+ end
+end