Sha256: ba25aac2f36810aff67c5ac10b6298a2ac1b18276e876a50383d31f8217b711a
Contents?: true
Size: 560 Bytes
Versions: 9
Compression:
Stored size: 560 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: oreader.rb,v 1.2 2005/05/16 03:59:21 austin Exp $ #++ 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
9 entries across 9 versions & 2 rubygems