lib/eac_templates/sources/single.rb in eac_templates-0.7.0 vs lib/eac_templates/sources/single.rb in eac_templates-0.7.1
- old
+ new
@@ -22,8 +22,13 @@
# @return [Pathname, nil]
def search(subpath)
r = path.join(subpath)
r.exist? ? r : nil
end
+
+ # @return [String]
+ def to_s
+ "#{self.class.name}[#{path}]"
+ end
end
end
end