Module: OrokuSaki::StringExt
- Defined in:
- lib/oroku_saki/string_ext.rb
Overview
A handful of extensions included in String to give easy access to the shred methods.
Instance Method Summary collapse
-
#shred! ⇒ nil
Zero out the receiver.
-
#shred_later ⇒ self
Attach a zeroing finalizer to the receiver.
Instance Method Details
#shred! ⇒ nil
Zero out the receiver
Delegates to the method with the same name on the OrokuSaki method.
9 10 11 |
# File 'lib/oroku_saki/string_ext.rb', line 9 def shred! OrokuSaki.shred!(self) end |
#shred_later ⇒ self
Attach a zeroing finalizer to the receiver
Delegates to the method with the same name on the OrokuSaki method.
17 18 19 |
# File 'lib/oroku_saki/string_ext.rb', line 17 def shred_later OrokuSaki.shred_later(self) end |