# File lib/guid.rb, line 106 106: def self.from_raw(bytes) 107: raise ArgumentError, "Invalid GUID raw bytes, length must be 16 bytes" unless 108: bytes.length == 16 109: guid = Guid.allocate 110: guid.instance_eval { @bytes = bytes } 111: guid 112: end