Sha256: 57e1335478d24ee98870d716dc684aa7d6595259a40cdbcf1bc3d7c29b740d21

Contents?: true

Size: 921 Bytes

Versions: 2

Compression:

Stored size: 921 Bytes

Contents

# Application RwdTinker orginally (c) 2004 Steven Gibson under GPL. 
# This application is a framework for writing programs from RubyWebDialogs
# http://www.erikveen.dds.nl/rubywebdialogs/index.html 
# For more information about RwdTinker 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 +  "Date " +      Date.today().to_s
    
   end
   

 

Version data entries

2 entries across 2 versions & 2 rubygems

Version Path
rwdaddresses-1.01 code/superant.com.rwdtinkerbackwindow/diagnostictab.rb
rwdtinker-1.59 code/superant.com.rwdtinkerbackwindow/diagnostictab.rb