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.18.6 lib/sugarcube/uuid.rb
sugarcube-0.18.5 lib/sugarcube/uuid.rb
sugarcube-0.18.4 lib/sugarcube/uuid.rb
sugarcube-0.18.3 lib/sugarcube/uuid.rb
sugarcube-0.18.2 lib/sugarcube/uuid.rb
sugarcube-0.18.1 lib/sugarcube/uuid.rb
sugarcube-0.18.0 lib/sugarcube/uuid.rb
sugarcube-0.16.9 lib/sugarcube/uuid.rb
sugarcube-0.16.5 lib/sugarcube/uuid.rb
sugarcube-0.16.2 lib/sugarcube/uuid.rb
sugarcube-0.16 lib/sugarcube/uuid.rb
sugarcube-0.15.5 lib/sugarcube/uuid.rb
sugarcube-0.15.3 lib/sugarcube/uuid.rb
sugarcube-0.15.0 lib/sugarcube/uuid.rb
sugarcube-0.14.0 lib/sugarcube/uuid.rb
sugarcube-0.13.7 lib/sugarcube/uuid.rb
sugarcube-0.13.5 lib/sugarcube/uuid.rb
sugarcube-0.13.4 lib/sugarcube/uuid.rb
sugarcube-0.13.3 lib/sugarcube/uuid.rb
sugarcube-0.13.2 lib/sugarcube/uuid.rb