Class: Prawn::Fillform::References
- Inherits:
-
Object
- Object
- Prawn::Fillform::References
- Includes:
- Document::Internals
- Defined in:
- lib/prawn-fillform.rb
Instance Method Summary collapse
- #delete! ⇒ Object
-
#initialize(state) ⇒ References
constructor
A new instance of References.
Constructor Details
#initialize(state) ⇒ References
Returns a new instance of References.
85 86 87 88 89 |
# File 'lib/prawn-fillform.rb', line 85 def initialize(state) @state = state @refs = [] collect! end |
Instance Method Details
#delete! ⇒ Object
91 92 93 94 95 |
# File 'lib/prawn-fillform.rb', line 91 def delete! @refs.each do |ref| ref[:annots].delete(ref[:ref]) end end |