Permalink
Browse files

Silencing a warning seen when running Prawn's tests.

  • Loading branch information...
1 parent 900032a commit 0de701dd1ff5d37324c90c34ac28c09c0c9ec9e4 @JEG2 committed Sep 14, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/ttfunk/table.rb
View
@@ -22,7 +22,7 @@ def initialize(file)
end
def exists?
- !@offset.nil?
+ defined?(@offset) && !@offset.nil?
end
def raw

0 comments on commit 0de701d

Please sign in to comment.