ur5us has joined #jruby
jeremyevans has quit [Ping timeout: 256 seconds]
jeremyevans has joined #jruby
ur5us has quit [Ping timeout: 260 seconds]
ur5us has joined #jruby
ur5us has quit [Ping timeout: 264 seconds]
lopex[m] has joined #jruby
ur5us has joined #jruby
ur5us has quit [Ping timeout: 260 seconds]
<boc_tothefuture[> Nope it does not implement the java.util.List interface.
<boc_tothefuture[> and I don't see to_ary when I print the methods either.. hmmm..
<boc_tothefuture[> I just tested it with a simple case (avoiding the method call), just wrapped it in an array and called flatten on the array and hit the same issue. Any debugging flags I can add to get more context?
<boc_tothefuture[> This is fascinating.
<boc_tothefuture[> puts things['astro:sun:home'].class
<boc_tothefuture[> puts things['astro:sun:home'].respond_to? :to_ary
<boc_tothefuture[> puts [things['astro:sun:home']].flatten
<boc_tothefuture[> Java::OrgOpenhabCoreThingInternal::ThingImpl
<boc_tothefuture[> false
<boc_tothefuture[> TypeError: can't convert Java::OrgOpenhabCoreThingInternal::ThingImpl to Array (Java::OrgOpenhabCoreThingInternal::ThingImpl#to_ary gives Java::OrgOpenhabCoreThingBindingBuilder::ChannelBuilder::ChannelImpl)
Antiarc has quit [Ping timeout: 240 seconds]
Antiarc has joined #jruby
victori has quit [Quit: ZNC 1.8.2 - https://znc.in]
victori has joined #jruby
Antiarc has quit [Ping timeout: 260 seconds]
ur5us has joined #jruby
ur5us has quit [Ping timeout: 260 seconds]
Antiarc has joined #jruby
jeremyevans has quit [Ping timeout: 260 seconds]