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

Version Path
rhodes-7.6.0 lib/extensions/pdf-writer/pdf/writer/oreader.rb
rhodes-7.5.1 lib/extensions/pdf-writer/pdf/writer/oreader.rb
rhodes-7.4.1 lib/extensions/pdf-writer/pdf/writer/oreader.rb
rhodes-7.1.17 lib/extensions/pdf-writer/pdf/writer/oreader.rb
rhodes-6.2.0 lib/extensions/pdf-writer/pdf/writer/oreader.rb
rhodes-6.0.11 lib/extensions/pdf-writer/pdf/writer/oreader.rb
rhodes-5.5.18 lib/extensions/pdf-writer/pdf/writer/oreader.rb
rhodes-5.5.17 lib/extensions/pdf-writer/pdf/writer/oreader.rb
rhodes-5.5.15 lib/extensions/pdf-writer/pdf/writer/oreader.rb
rhodes-5.5.0.22 lib/extensions/pdf-writer/pdf/writer/oreader.rb
rhodes-5.5.2 lib/extensions/pdf-writer/pdf/writer/oreader.rb
rhodes-5.5.0.7 lib/extensions/pdf-writer/pdf/writer/oreader.rb
rhodes-5.5.0.3 lib/extensions/pdf-writer/pdf/writer/oreader.rb
rhodes-5.5.0 lib/extensions/pdf-writer/pdf/writer/oreader.rb
tauplatform-1.0.3 lib/extensions/pdf-writer/pdf/writer/oreader.rb
tauplatform-1.0.2 lib/extensions/pdf-writer/pdf/writer/oreader.rb
tauplatform-1.0.1 lib/extensions/pdf-writer/pdf/writer/oreader.rb
rhodes-3.5.1.12 lib/extensions/pdf-writer/pdf/writer/oreader.rb
rhodes-3.3.5 lib/extensions/pdf-writer/pdf/writer/oreader.rb
rhodes-3.4.2 lib/extensions/pdf-writer/pdf/writer/oreader.rb