/* * call-seq: * get_option(key) * * key: the name of the option, as a string. * * Gets the value of a result set's option. * * Returns: the value of the given option, as a string, integer or boolean. */ static VALUE rbz_resultset_get_option (VALUE self, VALUE key) { const char *value; value = ZOOM_resultset_option_get (rbz_resultset_get (self), RVAL2CSTR (key)); return zoom_option_value_to_ruby_value (value); }
std::string resultSet::option(const std::string &key) const { return ZOOM_resultset_option_get(rs, key.c_str()); }