lib/engine/template_group.rb in starapor-slippers-0.0.3 vs lib/engine/template_group.rb in starapor-slippers-0.0.5

- old
+ new

@@ -9,9 +9,13 @@ return nil unless @templates return @templates[subtemplate.to_sym] if @templates.include?(subtemplate.to_sym) find_in_super_group(subtemplate) end + def to_s + "TemplateGroup#Templates:[#{@templates}]&SuperGroup:[#{@super_group}] " + end + private def find_in_super_group(subtemplate) return nil unless @super_group @super_group.find(subtemplate) end \ No newline at end of file