summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Helma <helma@in-silico.ch>2012-10-19 13:27:29 +0200
committerChristoph Helma <helma@in-silico.ch>2012-10-19 13:27:29 +0200
commit1a683715a71ad7aff8958fc8c46b09654d4a4c80 (patch)
tree6f62f085a72d55587ade8aca94291d7bb7413966
parent8edcde1793f0dc523895df056def0f456364943a (diff)
fixed put instead of puts
-rw-r--r--_posts/2012-08-15-how-to-add-data-entries-to-opentox-datasets.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/_posts/2012-08-15-how-to-add-data-entries-to-opentox-datasets.md b/_posts/2012-08-15-how-to-add-data-entries-to-opentox-datasets.md
index de491a4..656c5cb 100644
--- a/_posts/2012-08-15-how-to-add-data-entries-to-opentox-datasets.md
+++ b/_posts/2012-08-15-how-to-add-data-entries-to-opentox-datasets.md
@@ -19,11 +19,11 @@ Example:
feature1 = Feature.new nil, @@subjectid
feature1.title = "my first feature title"
# set more metadata
- feature1.puts
+ feature1.put
feature2 = Feature.new nil, @@subjectid
feature2.title = "my second feature title"
# set more metadata
- feature2.puts
+ feature2.put
# add features (i.e. set table headers)
dataset.features = [feature1, feature2]