# File lib/pdf/writer.rb, line 1825 1825: def close_object 1826: unless @stack.empty? 1827: obj = @stack.pop 1828: @current_contents = obj[:contents] 1829: @current_page = obj[:page] 1830: end 1831: end