class Rock::HTML::AutoprojVCS
Rendering object that displays information about autoproj version control information
Attributes
page[R]
template[R]
Public Class Methods
new(page)
click to toggle source
# File lib/rock/html/autoproj_vcs.rb, line 8 def initialize(page) @page = page @template = page.load_template(TEMPLATE_DIR, 'autoproj_vcs.page') end
Public Instance Methods
render(vcs, options = Hash.new)
click to toggle source
# File lib/rock/html/autoproj_vcs.rb, line 13 def render(vcs, options = Hash.new) page.push nil, template.result(binding) end