>
>I see two ways of fixing the bug,
>>
>> 1. removing the [RubyMethod("count")] declaration from
>> IListOps.Length which would make count inefficent on IList's.
>> 2. reimplementing the object and block variations of count in
>> IListOps
>>
>> In my humble opinion, 1 would be best,
On Wed, May 4, 2011 at 2:02 PM, Nicholas Radford
wrote:
> Hey all,
>
>I thought I'd look at issue #6095 on codeplex
> (http://ironruby.codeplex.com/workitem/6095) as my first contribution.
>
>I see two ways of fixing the bug,
> 1. removing the [RubyMethod("count")] declaration from
Hey all,
I thought I'd look at issue #6095 on codeplex
(http://ironruby.codeplex.com/workitem/6095) as my first contribution.
Having a dig through the code lead me to ArrayOps which then lead
me IListOps in the IronRuby.Libraries project.
I noticed IListOps.Length had the [RubyMethod("c
Hi Sri,
I assume that you are trying to work from a wpf application...
in Ruby, variables that start in upper case are interpreted as
constants...
Did you try?
list = self.FindName('MyListBox')
list.ItemsSource = myObject
(note the lower case names)...
Regards,
Eduardo Blumenfeld
Sridharan