lib/prawn/core/object_store.rb
# returns the object ID for a particular page in the document. Pages
# are indexed starting at 1 (not 0!).
#
#   object_id_for_page(1)
#   => 5
#   object_id_for_page(10)
#   => 87
#   object_id_for_page(-11)
#   => 17
#
returns the object ID for a particular page in the document. Pages
are indexed starting at 1 (not 0!).


returns the object ID for a particular page in the document . Pages are indexed starting at 1 ( not 0! ) .
def object_id_for_page(k)
        k -= 1 if k > 0
        flat_page_ids = get_page_objects(pages).flatten
        flat_page_ids[k]
      end
def object_id_for_page ( k ) k -= 1 if k > 0 flat_page_ids = get_page_objects ( pages ) . flatten flat_page_ids [ k ] end
returns the object ID for a particular page in the document.
returns the object ID for a particular page in the document .
k