From: "Hanmac (Hans Mackowiak)" Date: 2013-02-18T18:44:58+09:00 Subject: [ruby-core:52435] [ruby-trunk - Bug #7861] New macro for the new feature of rb_scan_args() Issue #7861 has been updated by Hanmac (Hans Mackowiak). i for sample would like to know how to use the Optional Hash (and with 2.0 the default hash parameters) with rb_scan_args ---------------------------------------- Bug #7861: New macro for the new feature of rb_scan_args() https://bugs.ruby-lang.org/issues/7861#change-36497 Author: nobu (Nobuyoshi Nakada) Status: Assigned Priority: Normal Assignee: mame (Yusuke Endoh) Category: core Target version: 2.1.0 ruby -v: 2.0.0 =begin (({rb_scan_args()})) has new feature since 1.9.3, but there is no way to tell if it is available from extension libraries. So we have to provide a preprocessor symbol for it now. The name in my mind is (({HAVE_RB_SCAN_ARGS_OPTIONAL_HASH})) now. Any ideas? =end -- http://bugs.ruby-lang.org/