00:28
ur5us has joined #jruby
00:38
jeremyevans has quit [Ping timeout: 256 seconds]
03:01
jeremyevans has joined #jruby
04:38
ur5us has quit [Ping timeout: 260 seconds]
04:42
ur5us has joined #jruby
06:24
ur5us has quit [Ping timeout: 264 seconds]
07:32
lopex[m] has joined #jruby
07:36
ur5us has joined #jruby
08:33
ur5us has quit [Ping timeout: 260 seconds]
12:26
<
boc_tothefuture[ >
Nope it does not implement the java.util.List interface.
12:29
<
boc_tothefuture[ >
and I don't see to_ary when I print the methods either.. hmmm..
13:00
<
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?
13:54
<
boc_tothefuture[ >
This is fascinating.
13:54
<
boc_tothefuture[ >
puts things['astro:sun:home'].class
13:54
<
boc_tothefuture[ >
puts things['astro:sun:home'].respond_to? :to_ary
13:54
<
boc_tothefuture[ >
puts [things['astro:sun:home']].flatten
13:54
<
boc_tothefuture[ >
Java::OrgOpenhabCoreThingInternal::ThingImpl
13:54
<
boc_tothefuture[ >
false
13:54
<
boc_tothefuture[ >
TypeError: can't convert Java::OrgOpenhabCoreThingInternal::ThingImpl to Array (Java::OrgOpenhabCoreThingInternal::ThingImpl#to_ary gives Java::OrgOpenhabCoreThingBindingBuilder::ChannelBuilder::ChannelImpl)
18:18
Antiarc has quit [Ping timeout: 240 seconds]
18:21
Antiarc has joined #jruby
19:04
victori has joined #jruby
19:22
Antiarc has quit [Ping timeout: 260 seconds]
20:09
ur5us has joined #jruby
21:02
ur5us has quit [Ping timeout: 260 seconds]
21:57
Antiarc has joined #jruby
22:26
jeremyevans has quit [Ping timeout: 260 seconds]