aboutsummaryrefslogtreecommitdiffhomepage
path: root/examples/rubyvm-on-php-on-wasm/HelloWorld.rb
diff options
context:
space:
mode:
Diffstat (limited to 'examples/rubyvm-on-php-on-wasm/HelloWorld.rb')
-rw-r--r--examples/rubyvm-on-php-on-wasm/HelloWorld.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/rubyvm-on-php-on-wasm/HelloWorld.rb b/examples/rubyvm-on-php-on-wasm/HelloWorld.rb
new file mode 100644
index 0000000..f94759e
--- /dev/null
+++ b/examples/rubyvm-on-php-on-wasm/HelloWorld.rb
@@ -0,0 +1 @@
+puts RubyVM::InstructionSequence.compile("puts 'HelloWorld!\n'", "HelloWorld.rb").to_binary