Sha256: b5fcd8fd50ea5b95414e5a123f34cea6c17f6184b081ef0770b7659ecf3cdba4

Contents?: true

Size: 635 Bytes

Versions: 7

Compression:

Stored size: 635 Bytes

Contents

def viewaddressesconfiguration 
	require 'fileutils'
	begin # exception trapped block

		Dir.chdir($progdir)
		rwdaddrssesconfigurationfile = File.join( "configuration", "rwdaddresses.cnf" )
		if  File.exist?(rwdaddrssesconfigurationfile)
			fd = File.open(rwdaddrssesconfigurationfile,"r")
			@rwdaddressesconfigurationtext = " "
			while ! fd.eof?
				@rwdaddressesconfigurationtext = fd.read
			end
			fd.close
		else
			@rwdaddressesconfigurationtext  = "File error"
		end
	rescue SystemCallError, StandardError
		$stderr.print "system call error: " + $!
		@rwdaddressesconfigurationtext = "File error"
	end # exception rescue
end

Version data entries

7 entries across 7 versions & 2 rubygems

Version Path
bigtinker-0.94 code/superant.com.rwdaddresses/viewaddressconfiguration.rb
bigtinker-0.93 code/superant.com.rwdaddresses/viewaddressconfiguration.rb
bigtinker-0.96 code/superant.com.rwdaddresses/viewaddressconfiguration.rb
rwdaddresses-1.04 code/superant.com.rwdaddresses/viewaddressconfiguration.rb
rwdaddresses-1.03 code/superant.com.rwdaddresses/viewaddressconfiguration.rb
rwdaddresses-1.02 code/superant.com.rwdaddresses/viewaddressconfiguration.rb
rwdaddresses-1.05 code/superant.com.rwdaddresses/viewaddressconfiguration.rb