Wrap grn_scan_info_put_index() in ruby method