These are chat archives for opal/opal

31st
Aug 2016
Mitch VanDuyn
@catmando
Aug 31 2016 14:34
@/all
@x = Set.new
@x << "foo"
@x.intersection(["foo", "bar"])
undefined method intersection???????
Mitch VanDuyn
@catmando
Aug 31 2016 14:40
also @x & ["foo", "bar"] doesnt work...
Ilya Bylich
@iliabylich
Aug 31 2016 14:41
@catmando these methods are not implemented yet
Jamie Gaskins
@jgaskins
Aug 31 2016 14:41
@catmando Not sure what you're looking for. Send a PR?
Mitch VanDuyn
@catmando
Aug 31 2016 14:41
I didn't know they were not implemented...
Jamie Gaskins
@jgaskins
Aug 31 2016 14:42
That's what undefined method intersection means, though
Ilya Bylich
@iliabylich
Aug 31 2016 14:42
These methods can be copied from MRI (with minor changes, of course)
Set is a pure ruby class
Mitch VanDuyn
@catmando
Aug 31 2016 14:42
@jgaskins - well of course, I was just surprised...and figured I had done something done.