class About
this file is part of manqod manqod is distributed under the CDDL licence the author of manqod is Dobai-Pataky Balint(dpblnt@gmail.com)
Attributes
title[RW]
Public Class Methods
new()
click to toggle source
Calls superclass method
# File lib/About.rb, line 19 def initialize @title="about" super(false,3) pack_start(v=Versions.new,false,false) Gem.cache.gems.each_pair{|key,gem| v.add(gem.name,gem.version) if gem.name.include?("manqod") } pack_start(Gtk::Label.new("User logged in: #{nick}")) pack_start(Gtk::Label.new("Homepage of manqod: http://manqod.sourceforge.net")) pack_start(Gtk::Label.new("LICENSE: CDDL the author of this program(manqod) is Dobai-Pataky Balint(dpblnt@gmail.com) manqod is released under the CDDL licence(http://www.opensource.org/licenses/cddl1.php) don't worry this only means the following: * you can use it, copy it, modify it * if you want your modifications to be distributed send them back to me, i'll merge them in * nobody can sell it")) pack_end(Versions.new. add("GTK+",Gtk::VERSION.join(".")). add("Ruby",RUBY_VERSION). add("GLib",GLib::VERSION.join(".")). add("Ruby/GLib",GLib::BINDING_VERSION.join(".")). add("Ruby/GTK",Gtk::BINDING_VERSION.join(".")),false,false) end
Public Instance Methods
update(notifier)
click to toggle source
# File lib/About.rb, line 42 def update(notifier) @title=notifier.text end