update to show a calculation

This commit is contained in:
josh committed 2014-01-16 16:32:37 -05:00
1 parent 5c9bd9c832
commit 583da83cd3
1 file changed
+2 -1
+2 -1
View File
@@ -4,6 +4,7 @@ int main(int argc, char *argv[])
{
ruby_init();
ruby_init_loadpath();
rb_eval_string("puts 'Hello, C world from Ruby'");
VALUE v = rb_eval_string("3 + 8");
printf("v: %d\n", FIX2INT(v));
return 0;
}