I tried the CVS version of ruby (1.9.0), and found this in file
ruby/ext/tk/lib/tk/canvas.rb:
def __item_val2ruby_optkeys(id) # { key=>proc, ... }
super(id).update('window'=>proc{|i, v| window(v)})
end
private :__val2ruby_optkeys
The last line should be __item_val2ruby_optkeys I think, and
with that correction the Canvas example at
http://www.rubycentral.com/book/ext_tk.html works fine.
But where should I send this ? And is it really useful to
send bug reports about the CVS version ?
Sorry if this is completely OT...
I'd also have a same feeling with you.
Whenever I found strange behaviors in 1.9 CVS HEAD, I'd bury it after
some hesitation, because I didn't surely know what do I do. Would it
be OK to report weird thing in very unstable/experimental version?
···
On 10/24/05, Jean-Claude Arbaut <jcarbaut@laposte.net> wrote:
I tried the CVS version of ruby (1.9.0), and found this in file
ruby/ext/tk/lib/tk/canvas.rb:
def __item_val2ruby_optkeys(id) # { key=>proc, ... }
super(id).update('window'=>proc{|i, v| window(v)})
end
private :__val2ruby_optkeys
The last line should be __item_val2ruby_optkeys I think, and
with that correction the Canvas example at
http://www.rubycentral.com/book/ext_tk.html works fine.
But where should I send this ? And is it really useful to
send bug reports about the CVS version ?
Sorry if this is completely OT...
--
http://nohmad.sub-port.net
Hi,
I tried the CVS version of ruby (1.9.0), and found this in file
ruby/ext/tk/lib/tk/canvas.rb:
def __item_val2ruby_optkeys(id) # { key=>proc, ... }
super(id).update('window'=>proc{|i, v| window(v)})
end
private :__val2ruby_optkeys
The last line should be __item_val2ruby_optkeys I think, and
with that correction the Canvas example at
http://www.rubycentral.com/book/ext_tk.html works fine.
Thank you for the report.
But where should I send this ? And is it really useful to
send bug reports about the CVS version ?
ruby-core mailing list is the best place. But here in ruby-talk (or
comp.lang.ruby newsgroup) is fine too.
Sorry if this is completely OT...
I don't think so.
matz.
···
In message "Re: How do I do a bug report ?" on Mon, 24 Oct 2005 06:47:01 +0900, Jean-Claude Arbaut <jcarbaut@laposte.net> writes: