Permalink
Browse files

initialize @data to nil to fix warnings, closes #21

  • Loading branch information...
1 parent b4245c7 commit 65c2df559f8cf03535f8da1162c358e03f8443f4 @rtomayko committed Feb 9, 2010
Showing with 1 addition and 0 deletions.
  1. +1 −0 lib/tilt.rb
View
@@ -77,6 +77,7 @@ def initialize(file=nil, line=1, options={}, &block)
@line = line || 1
@options = options || {}
@reader = block || lambda { |t| File.read(file) }
+ @data = nil
if !self.class.engine_initialized
initialize_engine

0 comments on commit 65c2df5

Please sign in to comment.