vendor/rust/rust/templates/AttributeDefinition.rusttpl in gecoder-0.7.1 vs vendor/rust/rust/templates/AttributeDefinition.rusttpl in gecoder-0.8.0
- old
+ new
@@ -3,10 +3,10 @@
VALUE set!parent_varname!!attribute_bindname!(VALUE self, VALUE val) {
!c_class_name!* tmp = ruby2!class_varcname!Ptr(self);
if ( ! tmp ) return Qnil;
- tmp->!attribute_name! = ruby2!attribute_type!(val);
+ tmp->!attribute_name! = ruby2!attribute_convert_name!(val);
return Qnil;
}
VALUE get!parent_varname!!attribute_bindname!(VALUE self) {
!c_class_name!* tmp = ruby2!class_varcname!Ptr(self);