[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[sc-users] Collection.includes query
- To: sc-users@xxxxxxxxxxxxxxxx
- Subject: [sc-users] Collection.includes query
- From: Anton Hörnquist <anton.hornquist@xxxxxxxxx>
- Date: Sat, 2 May 2009 16:49:23 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type:content-transfer-encoding; bh=gs+6pPaPb8DmcZ/q/7bR9avk3JPk3zrr39EE5SWnKD4=; b=W3r9/OH2sFcP5m0cmL/4uUoSrqc//sfmluzQJe0CJNI10GBEX8LoFL0D8oBmYgGS0j WqqQabKXx+YEurvhKIKcfYt6HQItNPiOGdtAaYuGWVMbkg4fsOU834wtr2oea7KALmUt HD3z9xDlMMP0NyjWH0i+fR6rT/5I4zuPQEn5Q=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; b=wxEhHQHVTPCgBxF253MprZX8TiNw9WcKPyEbJ5bk6Frpjkax2YNUMByUYJ6BeY09M8 likOkADQ7w6S4J8l+Uy7gwHZqRYMt9zPpartJJ19KI6WXC60pp7yo5JR4wGJf1cCiMIN cl9IhWtCaRWgC0sKkqbxlxOktT0I0BPVxf594=
- List-id: SuperCollider users mailing list <sc-users.create.ucsb.edu>
- Reply-to: sc-users@xxxxxxxxxxxxxxxx
- Sender: owner-sc-users@xxxxxxxxxxxxxxxx
I dont understand this:
ServerOptions.devices
-> [ Built-in Microphone, Built-in Input, Built-in Output, JackRouter ]
ServerOptions.devices.detect { |d| d == "JackRouter" }.notNil
-> true
ServerOptions.devices.includes("JackRouter")
-> false
How come includes in the last interpretation return false?
/Anton
_______________________________________________
sc-users mailing list
info (subscription, etc.): http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml
archive: https://listarc.bham.ac.uk/marchives/sc-users/
search: https://listarc.bham.ac.uk/lists/sc-users/search/