Sha256: 229ec2b8aa29833d186ed9946286104755f9a59dab8023dabff6dfd5b6b70041
Contents?: true
Size: 344 Bytes
Versions: 76
Compression:
Stored size: 344 Bytes
Contents
require 'find' dir = File.dirname(File.expand_path(__FILE__)) fname = "rhorunner.app" fappGuid = File.new( File.join(dir,'rhodesguid.properties'), "w") Find.find(dir) do |path| if File.basename(path) == fname guid = File.basename(File.dirname(path)) fappGuid.puts( 'rhodes.guid='+guid ) end end fappGuid.close()
Version data entries
76 entries across 76 versions & 1 rubygems