I am uncertain what is going on,, too. but the suggestion of Rodrigo did not work, so the hope was without the matcher /Safe/ that the underlying code does not expect some "String"
happy that the little workaround worked :) - Kristian On Mon, Jan 7, 2013 at 3:22 PM, Carl Bourne <carl.bou...@me.com> wrote: > Kristian, > > Thanks so much for this. I'm sure exactly is happening here but by passing in > a nil to the .get_certificates method it all works as expected. > It now returns 2 certificate objects as it should. > > Best Regards, > > Carl > > On 7 Jan 2013, at 03:53, kristian <m.krist...@web.de> wrote: > >> you example says store is a Collection so I do not understand >> store.get_certificates(/Safe/) as such. what happens with >> >> store.get_certificates >> or >> store.get_certificates( nil ) >> >> or what objects do have when iterating over the Collection >> >> store.each { |c| p c.type; p c } >> >> just my thoughts after reading . . . . >> - Kristian >> >> --------------------------------------------------------------------- >> To unsubscribe from this list, please visit: >> >> http://xircles.codehaus.org/manage_email >> >> > > > --------------------------------------------------------------------- > To unsubscribe from this list, please visit: > > http://xircles.codehaus.org/manage_email > > --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email