vendor/bundle/ruby/1.8/gems/io-reactor-1.0.4/rake/manual.rb
def generate( metadata )
			content = self.generate_content( @source, metadata )

			# :TODO: Read config from page for layout, filters, etc.
			templatepath = @layouts_dir + 'default.page'
			template = ERB.new( templatepath.read )
			page = self

			html = template.result( binding() )

			# return self.cleanup( html )
			return html
		end
### Generate HTML output from the page and return it.
Generate HTML output from the page and return it.
Generate HTML output from the page and return it .
def generate( metadata )
			content = self.generate_content( @source, metadata )
			templatepath = @layouts_dir + 'default.page'
			template = ERB.new( templatepath.read )
			page = self
			html = template.result( binding() )
			return html
		end
def generate ( metadata ) content = self . generate_content ( @source , metadata ) templatepath = @layouts_dir + 'default.page' template = ERB . new ( templatepath . read ) page = self html = template . result ( binding ( ) ) return html end
Generate HTML output from the page and return it.
Generate HTML output from the page and return it .
# :TODO: Read config from page for layout, filters, etc. # return self.cleanup( html )
metadata