lib/crumpet/repository.rb in crumpet-0.2.1 vs lib/crumpet/repository.rb in crumpet-0.3.0
- old
+ new
@@ -1,6 +1,10 @@
module Crumpet
class Repository < Array
+ def render(options = {})
+ Crumpet::Renderer.render(self, options)
+ end
+
def add_crumb(*args)
self << Crumpet::Crumb.new(*args)
end
def <<(crumb)