Sha256: 1f329bfc77a8d3ecc2ff28e2df7c94256e89c43b2cc31f3ffc7bdeb4f6635b23
Contents?: true
Size: 510 Bytes
Versions: 7
Compression:
Stored size: 510 Bytes
Contents
#-- # PDF::Writer for Ruby. # http://rubyforge.org/projects/ruby-pdf/ # Copyright 2003 - 2005 Austin Ziegler. # # Licensed under a MIT-style licence. See LICENCE in the main distribution # for full licensing information. # # $Id$ #++ module PDF::Writer::OffsetReader def read_o(length = 1, offset = nil) @offset ||= 0 @offset = offset if offset ret = self[@offset, length] @offset += length ret end def offset @offset end def offset=(o) @offset = o || 0 end end
Version data entries
7 entries across 7 versions & 3 rubygems