ext/duckdb/duckdb.c in duckdb-0.8.1.3 vs ext/duckdb/duckdb.c in duckdb-0.9.0
- old
+ new
@@ -2,11 +2,19 @@
VALUE mDuckDB;
static VALUE duckdb_s_library_version(VALUE self);
+/*
+ * call-seq:
+ * DuckDB.library_version -> String
+ *
+ * Returns the version of the DuckDB library.
+ *
+ * DuckDB.library_version # => "0.2.0"
+ */
static VALUE duckdb_s_library_version(VALUE self) {
- return rb_str_new2(duckdb_library_version());
+ return rb_str_new2(duckdb_library_version());
}
void
Init_duckdb_native(void) {
mDuckDB = rb_define_module("DuckDB");