From: Seebs Date: 2009-11-24T11:35:40+09:00 Subject: Warning: instance variable @foo not initialized Running some simple tests with Prawn, I am getting thousands of lines of warnings from Ruby 1.9.1: /usr/local/lib/ruby/gems/1.9.1/gems/prawn-layout-0.3.2/lib/prawn/table/cell.rb:255: warning: instance variable @text_color not initialized There are hundreds of these, and they seem to come from a lot of usages like: e.text_color ||= @text_color or this kind of usage: def page_content @active_stamp_stream || @store[@page_content] end In the latter case, @store is apparently fine, it's just @active_stamp_screen which is uninitialized. Should I infer that the library should be setting these all to nil in its initialize()? -s -- Copyright 2009, all wrongs reversed. Peter Seebach / usenet-nospam@seebs.net http://www.seebs.net/log/ <-- lawsuits, religion, and funny pictures http://en.wikipedia.org/wiki/Fair_Game_(Scientology) <-- get educated!