diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2013-01-26 00:50:31 -0800 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2013-01-26 00:50:31 -0800 |
| commit | 437aa216fc9a96d8d4898ff51c0c218670c8b807 (patch) | |
| tree | aefa8d309db1b9c6f714c05ae7d5630090856cc5 /examples/mrbgems/c_and_ruby_extension_example/test/example.rb | |
| parent | 47d7cce66dc79235509130bcfc5ca0d32c21337b (diff) | |
| parent | 9352e4b49d503db708ce645deb8a188958f77ad8 (diff) | |
| download | mruby-437aa216fc9a96d8d4898ff51c0c218670c8b807.tar.gz mruby-437aa216fc9a96d8d4898ff51c0c218670c8b807.zip | |
Merge pull request #783 from masuidrive/move_mrbgems
Moved mrbgems examples
Diffstat (limited to 'examples/mrbgems/c_and_ruby_extension_example/test/example.rb')
| -rw-r--r-- | examples/mrbgems/c_and_ruby_extension_example/test/example.rb | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/examples/mrbgems/c_and_ruby_extension_example/test/example.rb b/examples/mrbgems/c_and_ruby_extension_example/test/example.rb new file mode 100644 index 000000000..fffad710f --- /dev/null +++ b/examples/mrbgems/c_and_ruby_extension_example/test/example.rb @@ -0,0 +1,7 @@ +assert('C and Ruby Extension Example 1') do + CRubyExtension.respond_to? :c_method +end + +assert('C and Ruby Extension Example 2') do + CRubyExtension.respond_to? :ruby_method +end |
