summaryrefslogtreecommitdiff
path: root/lib/feature.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/feature.rb')
-rw-r--r--lib/feature.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/feature.rb b/lib/feature.rb
index c18b0b8..50bbc42 100644
--- a/lib/feature.rb
+++ b/lib/feature.rb
@@ -70,7 +70,7 @@ module OpenTox
field :model_id, type: BSON::ObjectId
field :training_feature_id, type: BSON::ObjectId
def name
- "#{name} Prediction"
+ "#{self[:name]} Prediction"
end
end