Sha256: 0a8892111557274e5fef313ff473f0b1ffdd93dcd2425c90c691fcef918656dd

Contents?: true

Size: 189 Bytes

Versions: 9

Compression:

Stored size: 189 Bytes

Contents

require 'uuid'

module XcodeProject
	class UUIDGenerator
		def initialize
			@generator = UUID.new
		end

		def generate
			@generator.generate(:compact).slice(0..23).upcase
		end
	end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
xcodeproject-0.3.10 lib/xcodeproject/uuid_generator.rb
xcodeproject-0.3.9 lib/xcodeproject/uuid_generator.rb
xcodeproject-0.3.8 lib/xcodeproject/uuid_generator.rb
xcodeproject-0.3.6 lib/xcodeproject/uuid_generator.rb
xcodeproject-0.3.5 lib/xcodeproject/uuid_generator.rb
xcodeproject-0.3.1 lib/xcodeproject/uuid_generator.rb
xcodeproject-0.3.0 lib/xcodeproject/uuid_generator.rb
xcodeproject-0.2.4 lib/xcodeproject/uuid_generator.rb
xcodeproject-0.2.3 lib/xcodeproject/uuid_generator.rb