[fxruby-users] warning: method redefined

Lyle Johnson lyle at lylejohnson.name
Mon Mar 31 23:07:25 EDT 2008


On Mar 31, 2008, at 8:14 PM, Steven Parkes wrote:

> I usually develop with "ruby -d -w" ...
>
> Doing this with the 1.6.14 gem (against the 1.8 branch) gives:
>
> /usr/local/ruby_1_8-r15749/lib/ruby/gems/1.8/gems/fxruby-1.6.14/lib/ 
> fox16/co
> re.rb:219: warning: method redefined; discarding old readBoolEntry
> /usr/local/ruby_1_8-r15749/lib/ruby/gems/1.8/gems/fxruby-1.6.14/lib/ 
> fox16/co
> re.rb:227: warning: method redefined; discarding old writeBoolEntry
> /usr/local/ruby_1_8-r15749/lib/ruby/gems/1.8/gems/fxruby-1.6.14/lib/ 
> fox16/al
> iases.rb:3577: warning: method redefined; discarding old position
> /usr/local/ruby_1_8-r15749/lib/ruby/gems/1.8/gems/fxruby-1.6.14/lib/ 
> fox16/kw
> args.rb:82: warning: redefine listFonts
>
> I'm not sure if this is benign or not?

It's benign, but I'll see about fixing those in the next release.

---
"FXRuby: Create Lean and Mean GUIs with Ruby"
Now available as a Beta book from the Pragmatic Bookshelf
http://www.pragprog.com/titles/fxruby





More information about the fxruby-users mailing list