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.20.4 lib/sugarcube/uuid.rb
sugarcube-0.20.3 lib/sugarcube/uuid.rb
sugarcube-0.20.1 lib/sugarcube/uuid.rb
sugarcube-0.20.0 lib/sugarcube/uuid.rb
sugarcube-0.19.5 lib/sugarcube/uuid.rb
sugarcube-0.19.4 lib/sugarcube/uuid.rb
sugarcube-0.19.2 lib/sugarcube/uuid.rb
sugarcube-0.19.0 lib/sugarcube/uuid.rb
sugarcube-0.18.21 lib/sugarcube/uuid.rb
sugarcube-0.18.20 lib/sugarcube/uuid.rb
sugarcube-0.18.19 lib/sugarcube/uuid.rb
sugarcube-0.18.18 lib/sugarcube/uuid.rb
sugarcube-0.18.17 lib/sugarcube/uuid.rb
sugarcube-0.18.16 lib/sugarcube/uuid.rb
sugarcube-0.18.12 lib/sugarcube/uuid.rb
sugarcube-0.18.11 lib/sugarcube/uuid.rb
sugarcube-0.18.10 lib/sugarcube/uuid.rb
sugarcube-0.18.9 lib/sugarcube/uuid.rb
sugarcube-0.18.8 lib/sugarcube/uuid.rb
sugarcube-0.18.7 lib/sugarcube/uuid.rb