class About::Versions
Public Class Methods
new()
click to toggle source
Calls superclass method
# File lib/About.rb, line 8 def initialize super(true,3) @progs=Hash.new end
Public Instance Methods
add(text,ver)
click to toggle source
# File lib/About.rb, line 12 def add(text,ver) pack_start(@progs[text]=Gtk::VBox.new.pack_start(Gtk::Label.new(text),true,true,2)) unless @progs.has_key?(text) @progs[text].pack_start(Gtk::Label.new(ver.to_s),true,true,2) self end