Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Silencing a warning seen when running Prawn's tests.

  • Loading branch information...
commit 0de701dd1ff5d37324c90c34ac28c09c0c9ec9e4 1 parent 900032a
@JEG2 authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/ttfunk/table.rb
View
2  lib/ttfunk/table.rb
@@ -22,7 +22,7 @@ def initialize(file)
end
def exists?
- !@offset.nil?
+ defined?(@offset) && !@offset.nil?
end
def raw
Please sign in to comment.
Something went wrong with that request. Please try again.