Created
May 28, 2011 21:35
-
-
Save sonney2k/997253 to your computer and use it in GitHub Desktop.
ruby lowercase modules
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/modular/Classifier.i b/src/modular/Classifier.i | |
index 803f28f..b40478a 100644 | |
--- a/src/modular/Classifier.i | |
+++ b/src/modular/Classifier.i | |
@@ -12,7 +12,11 @@ | |
"The `Classifier` module gathers all classifiers available in the SHOGUN toolkit." | |
%enddef | |
+#ifndef SWIGRUBY | |
%module(docstring=DOCSTR) Classifier | |
+#else | |
+%module(docstring=DOCSTR) classifier | |
+#endif | |
/* Documentation */ | |
%feature("autodoc","0"); | |
diff --git a/src/modular/Clustering.i b/src/modular/Clustering.i | |
index d24ecdd..1fe71e9 100644 | |
--- a/src/modular/Clustering.i | |
+++ b/src/modular/Clustering.i | |
@@ -12,7 +12,11 @@ | |
"The `Clustering` module gathers all clustering methods available in the SHOGUN toolkit." | |
%enddef | |
+#ifndef SWIGRUBY | |
%module(docstring=DOCSTR) Clustering | |
+#else | |
+%module(docstring=DOCSTR) clustering | |
+#endif | |
/* Documentation */ | |
%feature("autodoc","0"); | |
diff --git a/src/modular/Distance.i b/src/modular/Distance.i | |
index 15264b6..d35eabd 100644 | |
--- a/src/modular/Distance.i | |
+++ b/src/modular/Distance.i | |
@@ -12,7 +12,11 @@ | |
"The `Distance` module gathers all distances available in the SHOGUN toolkit." | |
%enddef | |
+#ifndef SWIGRUBY | |
%module(docstring=DOCSTR) Distance | |
+#else | |
+%module(docstring=DOCSTR) distance | |
+#endif | |
/* Documentation */ | |
%feature("autodoc","0"); | |
diff --git a/src/modular/Distribution.i b/src/modular/Distribution.i | |
index 7938d9e..7e971fd 100644 | |
--- a/src/modular/Distribution.i | |
+++ b/src/modular/Distribution.i | |
@@ -12,7 +12,11 @@ | |
"The `Distribution` module gathers all distributions available in the SHOGUN toolkit." | |
%enddef | |
+#ifndef SWIGRUBY | |
%module(docstring=DOCSTR) Distribution | |
+#else | |
+%module(docstring=DOCSTR) distribution | |
+#endif | |
/* Documentation */ | |
%feature("autodoc","0"); | |
diff --git a/src/modular/Evaluation.i b/src/modular/Evaluation.i | |
index d36f6d4..8cf0331 100644 | |
--- a/src/modular/Evaluation.i | |
+++ b/src/modular/Evaluation.i | |
@@ -12,7 +12,11 @@ | |
"The `Evaluation` module is a collection of classes like PerformanceMeasures for the SHOGUN toolkit." | |
%enddef | |
+#ifndef SWIGRUBY | |
%module(docstring=DOCSTR) Evaluation | |
+#else | |
+%module(docstring=DOCSTR) evaluation | |
+#endif | |
/* Documentation */ | |
%feature("autodoc","0"); | |
diff --git a/src/modular/Features.i b/src/modular/Features.i | |
index 24615d9..fdedb21 100644 | |
--- a/src/modular/Features.i | |
+++ b/src/modular/Features.i | |
@@ -12,7 +12,11 @@ | |
"The `Features` module gathers all Feature objects available in the SHOGUN toolkit." | |
%enddef | |
+#ifndef SWIGRUBY | |
%module(docstring=DOCSTR) Features | |
+#else | |
+%module(docstring=DOCSTR) features | |
+#endif | |
/* Documentation */ | |
%feature("autodoc","0"); | |
diff --git a/src/modular/Kernel.i b/src/modular/Kernel.i | |
index 70648cc..9f16925 100644 | |
--- a/src/modular/Kernel.i | |
+++ b/src/modular/Kernel.i | |
@@ -12,7 +12,11 @@ | |
"The `Kernel` module gathers all kernels available in the SHOGUN toolkit." | |
%enddef | |
+#ifndef SWIGRUBY | |
%module(docstring=DOCSTR) Kernel | |
+#else | |
+%module(docstring=DOCSTR) kernel | |
+#endif | |
/* Documentation */ | |
%feature("autodoc","0"); | |
diff --git a/src/modular/Library.i b/src/modular/Library.i | |
index c501448..a34bec3 100644 | |
--- a/src/modular/Library.i | |
+++ b/src/modular/Library.i | |
@@ -12,7 +12,11 @@ | |
"The `Library` module gathers all miscellaneous Objects in the SHOGUN toolkit." | |
%enddef | |
+#ifndef SWIGRUBY | |
%module(docstring=DOCSTR) Library | |
+#else | |
+%module(docstring=DOCSTR) library | |
+#endif | |
/* Documentation */ | |
%feature("autodoc","0"); | |
diff --git a/src/modular/PreProc.i b/src/modular/PreProc.i | |
index 87b96ca..493ff5a 100644 | |
--- a/src/modular/PreProc.i | |
+++ b/src/modular/PreProc.i | |
@@ -12,7 +12,11 @@ | |
"The `PreProc` module gathers all preprocessors available in the SHOGUN toolkit." | |
%enddef | |
+#ifndef SWIGRUBY | |
%module(docstring=DOCSTR) PreProc | |
+#else | |
+%module(docstring=DOCSTR) preproc | |
+#endif | |
/* Documentation */ | |
%feature("autodoc","0"); | |
diff --git a/src/modular/Regression.i b/src/modular/Regression.i | |
index 30526ac..11c5754 100644 | |
--- a/src/modular/Regression.i | |
+++ b/src/modular/Regression.i | |
@@ -12,7 +12,11 @@ | |
"The `Regression` module gathers all regression methods available in the SHOGUN toolkit." | |
%enddef | |
+#ifndef SWIGRUBY | |
%module(docstring=REGRESSION_DOCSTR) Regression | |
+#else | |
+%module(docstring=REGRESSION_DOCSTR) regression | |
+#endif | |
/* Documentation */ | |
%feature("autodoc","0"); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment