lib/cuke_modeler/named.rb in cuke_modeler-3.3.0 vs lib/cuke_modeler/named.rb in cuke_modeler-3.4.0
- old
+ new
@@ -11,10 +11,14 @@
private
def name_output_string
- (name.nil? || name.empty?) ? '' : " #{name}"
+ name.nil? || name.empty? ? '' : " #{name}"
+ end
+
+ def populate_name(model, parsed_model_data)
+ model.name = parsed_model_data['name']
end
end
end