# File lib/webby/resources/meta_file.rb, line 184 def meta_end return @meta_end if defined? @meta_end @meta_end = nil @io.seek 0 line = @io.read(4) return unless META_SEP =~ line @io.seek 0 @io.gets pos, count = nil, 1 while line = @io.gets count += 1 if META_SEP =~ line pos = count @meta_count += 1 end end return if pos.nil? @meta_end = pos end