summaryrefslogtreecommitdiffstats
path: root/umbrello/umbrello/codegenerators/rubycodeclassfield.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'umbrello/umbrello/codegenerators/rubycodeclassfield.cpp')
-rw-r--r--umbrello/umbrello/codegenerators/rubycodeclassfield.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/umbrello/umbrello/codegenerators/rubycodeclassfield.cpp b/umbrello/umbrello/codegenerators/rubycodeclassfield.cpp
index 4d24552a..793db6ed 100644
--- a/umbrello/umbrello/codegenerators/rubycodeclassfield.cpp
+++ b/umbrello/umbrello/codegenerators/rubycodeclassfield.cpp
@@ -70,7 +70,7 @@ TQString RubyCodeClassField::getFieldName() {
UMLRole * role = (UMLRole*) getParentObject();
TQString roleName = role->getName();
if(fieldIsSingleValue()) {
- return roleName.tqreplace(0, 1, roleName.left(1).lower());
+ return roleName.replace(0, 1, roleName.left(1).lower());
} else {
return roleName.lower() + "Array";
}