class Rock::HTML::AutoprojPackageSet

Attributes

page[R]
template[R]

Public Class Methods

new(page) click to toggle source
# File lib/rock/html/autoproj_package_set.rb, line 6
def initialize(page)
    @page = page
    @template = page.load_template(TEMPLATE_DIR, 'autoproj_package_set.page')
end

Public Instance Methods

render(pkg_set) click to toggle source
# File lib/rock/html/autoproj_package_set.rb, line 11
def render(pkg_set)
    page.push nil, template.result(binding)
end
render_vcs(vcs) click to toggle source
# File lib/rock/html/autoproj_package_set.rb, line 15
def render_vcs(vcs)
    MetaRuby::GUI::HTML::Page.to_html_body(vcs, AutoprojVCS)
end