6 7 8 9 10
# File 'lib/gumdrop/support/yaml_doc_template.rb', line 6 def render(scope=Object.new, locals={}, &block) yamldoc= Gumdrop::Util::YamlDoc.new(@data) scope.set yamldoc.data if scope.respond_to? :set yamldoc.body end