--- !ruby/object:RI::MethodDescription 
aliases: []

block_params: 
comment: 
- !ruby/struct:SM::Flow::P 
  body: "Opens a new PDF object for operating against. Returns the object's identifier. To close the object, you'll need to do:"
- !ruby/struct:SM::Flow::VERB 
  body: "  ob = open_new_object  # Opens the object\n    # do stuff here\n  close_object          # Closes the PDF document\n    # do stuff here\n  reopen_object(ob)     # Reopens the custom object.\n  close_object          # Closes it.\n  restore_state         # Returns full control to the PDF document.\n"
- !ruby/struct:SM::Flow::P 
  body: ... I think. I haven't examined the full details to be sure of what this is doing, but the code works.
full_name: PDF::Writer#open_new_object
is_singleton: false
name: open_new_object
params: ()
visibility: public
