lib/generators/sparrow/entity/entity_generator.rb in sparrow-entity-0.1.3 vs lib/generators/sparrow/entity/entity_generator.rb in sparrow-entity-0.1.4
- old
+ new
@@ -67,9 +67,10 @@
end
def __class_body__
results = __class_content__
class_path.reverse.each { |sub| results = __module_content__(sub, results) } if class_path.present?
+ results << "\n"
results
end
def __module_body__(paths = [])
current = paths.shift