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.25 lib/sugarcube/uuid.rb
sugarcube-0.20.24 lib/sugarcube/uuid.rb
sugarcube-0.20.23 lib/sugarcube/uuid.rb
sugarcube-0.20.22 lib/sugarcube/uuid.rb
sugarcube-0.20.21 lib/sugarcube/uuid.rb
sugarcube-0.20.20 lib/sugarcube/uuid.rb
sugarcube-0.20.19 lib/sugarcube/uuid.rb
sugarcube-0.20.18 lib/sugarcube/uuid.rb
sugarcube-0.20.17 lib/sugarcube/uuid.rb
sugarcube-0.20.16 lib/sugarcube/uuid.rb
sugarcube-0.20.15 lib/sugarcube/uuid.rb
sugarcube-0.20.13 lib/sugarcube/uuid.rb
sugarcube-0.20.12 lib/sugarcube/uuid.rb
sugarcube-0.20.11 lib/sugarcube/uuid.rb
sugarcube-0.20.10 lib/sugarcube/uuid.rb
sugarcube-0.20.9 lib/sugarcube/uuid.rb
sugarcube-0.20.8 lib/sugarcube/uuid.rb
sugarcube-0.20.7 lib/sugarcube/uuid.rb
sugarcube-0.20.6 lib/sugarcube/uuid.rb
sugarcube-0.20.5 lib/sugarcube/uuid.rb