Sha256: 48b019eb3c01ab5b01d512fa8404ac13d9e2bd38acdf7e1db64f0af6cd6daaa8
Contents?: true
Size: 554 Bytes
Versions: 29
Compression:
Stored size: 554 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 50 2005-05-16 03:59:21Z austin $ #++ 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
29 entries across 29 versions & 4 rubygems