Method: UUID#to_s

Defined in:
lib/cast_off/compile/namespace/uuid.rb

#to_sObject Also known as: guid

Generate the string representation (a.k.a GUID) of this UUID



257
258
259
260
261
# File 'lib/cast_off/compile/namespace/uuid.rb', line 257

def to_s
  a = unpack
  a[-1] = mac_address
              "%08x-%04x-%04x-%02x%02x-%s" % a
end