diff options
| author | Tomoyuki Sahara <[email protected]> | 2016-08-10 09:12:44 +0900 |
|---|---|---|
| committer | GitHub <[email protected]> | 2016-08-10 09:12:44 +0900 |
| commit | d8189c2b198b3441ac2d990b412b9c41447d75bc (patch) | |
| tree | 7b998c32e38727b8a9ef1ea9a4c3c9a523e2025e | |
| parent | b341ee7c1217d314af673a280e099c222b1c5727 (diff) | |
| parent | 024b09de0c3bf9019bf31ccaa4cd4e150b0113da (diff) | |
| download | mruby-d8189c2b198b3441ac2d990b412b9c41447d75bc.tar.gz mruby-d8189c2b198b3441ac2d990b412b9c41447d75bc.zip | |
Merge pull request #64 from asfluido/master
Apparently, in mruby-process gem, Process is now a Module, not a Class
| -rw-r--r-- | src/io.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -78,7 +78,7 @@ io_set_process_status(mrb_state *mrb, pid_t pid, int status) c_status = NULL; if (mrb_class_defined(mrb, "Process")) { - c_process = mrb_class_get(mrb, "Process"); + c_process = mrb_module_get(mrb, "Process"); if (mrb_const_defined(mrb, mrb_obj_value(c_process), mrb_intern_cstr(mrb, "Status"))) { c_status = mrb_class_get_under(mrb, c_process, "Status"); } |
