Sha256: ad629e05d468fc72b27102eada1a81da93615abdc60debc9d70bf48c3e5486f7
Contents?: true
Size: 886 Bytes
Versions: 93
Compression:
Stored size: 886 Bytes
Contents
# Application RwdTinker orginally (c) 2004 Steven Gibson under GPL. # This application is a framework for writing programs from RubyWebDialogs # For information see http://www.rubyforge.net/projects/rwdapplications require 'resolv' require 'date' # return the platform information def runviewplatform @platformdisplay = "Platform is " + RUBY_PLATFORM + "\n" @platformdisplay = @platformdisplay + "Ruby Version " + VERSION + "\n" @platformdisplay = @platformdisplay + "rwdtinker version " + RwdTinkerVersion + "\n" @platformdisplay = @platformdisplay + "program directory " + $progdir + "\n" @platformdisplay = @platformdisplay + "hostname " + Resolv.getname(Resolv.getaddress("localhost")) + "\n" @platformdisplay = @platformdisplay + "application name " + $rwdapplicationidentity + "\n" @platformdisplay = @platformdisplay + "Date " + Date.today().to_s end
Version data entries
93 entries across 93 versions & 18 rubygems