Created
June 4, 2014 19:06
-
-
Save fkaa/a5e7f9dcf927a95fcaf1 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ## main.rb | |
| def Kaffeh::init | |
| end | |
| def Kaffeh::update(delta) | |
| end | |
| def Kaffeh::draw | |
| end | |
| ## vec.rb | |
| module Kaffeh | |
| end | |
| ## compiled with verbose mode | |
| MBPro2012:kaffeh felix$ mrbc -v -o data.mrb src/ruby/main.rb src/ruby/vec.rb | |
| mruby - Embeddable Ruby Copyright (c) 2010-2013 mruby developers | |
| src/ruby/vec.rb:0:9: syntax error, unexpected keyword_module, expecting $end | |
| NODE_SCOPE: | |
| NODE_BEGIN: | |
| NODE_SDEF: | |
| NODE_CONST Kaffeh | |
| :init | |
| NODE_BEGIN: | |
| NODE_SDEF: | |
| NODE_CONST Kaffeh | |
| :update | |
| mandatory args: | |
| NODE_ARG delta | |
| NODE_BEGIN: | |
| NODE_SDEF: | |
| NODE_CONST Kaffeh | |
| :draw | |
| NODE_BEGIN: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment