class Craftsman::Renderer
Public Class Methods
new(package)
click to toggle source
# File lib/craftsman/renderer.rb, line 2 def initialize(package) @package = package end
Public Instance Methods
render()
click to toggle source
# File lib/craftsman/renderer.rb, line 6 def render output = @package.get("index.html.haml") [ ::Craftsman::Decorator::Annotation, ::Craftsman::Decorator::Helper ].each do |klass| output = klass.process(@package, output) end output end