class MetaRuby::GUI::HTML::Page::Fragment
A page fragment (or section)
Attributes
html[RW]
The fragment's HTML
content
id[RW]
The fragment ID (as, in, HTML
id)
title[RW]
The fragmen title (rendered with <h2>)
Public Class Methods
new(title, html, id: nil, buttons: Array.new)
click to toggle source
Create a new fragment
# File lib/metaruby/gui/html/page.rb, line 96 def initialize(title, html, id: nil, buttons: Array.new) @title = title @html = html @id = id @buttons = buttons end