Sha256: 1a4467b37a98df52b05099ee5c7f7617599150cb667f7fec7bf69abcc5e29291

Contents?: true

Size: 154 Bytes

Versions: 88

Compression:

Stored size: 154 Bytes

Contents

module SugarCube
  module UUID
    module_function

    def uuid
      new_id = CFUUIDCreate(nil)
      CFUUIDCreateString(nil, new_id)
    end
  end
end

Version data entries

88 entries across 88 versions & 1 rubygems

Version Path
sugarcube-0.13 lib/sugarcube/uuid.rb
sugarcube-0.12 lib/sugarcube/uuid.rb
sugarcube-0.11.3 lib/sugarcube/uuid.rb
sugarcube-0.11.2 lib/sugarcube/uuid.rb
sugarcube-0.11.1 lib/sugarcube/uuid.rb
sugarcube-0.11 lib/sugarcube/uuid.rb
sugarcube-0.10 lib/sugarcube/uuid.rb
sugarcube-0.9.4 lib/sugarcube/uuid.rb
sugarcube-0.9.3 lib/sugarcube/uuid.rb
sugarcube-0.9.2 lib/sugarcube/uuid.rb
sugarcube-0.9.1 lib/sugarcube/uuid.rb
sugarcube-0.9 lib/sugarcube/uuid.rb
sugarcube-0.8.7 lib/sugarcube/uuid.rb
sugarcube-0.8.6 lib/sugarcube/uuid.rb
sugarcube-0.8.5 lib/sugarcube/uuid.rb
sugarcube-0.8.4 lib/sugarcube/uuid.rb
sugarcube-0.8.3 lib/sugarcube/uuid.rb
sugarcube-0.8.2 lib/sugarcube/uuid.rb
sugarcube-0.8.1 lib/sugarcube/uuid.rb
sugarcube-0.8 lib/sugarcube/uuid.rb