Method: PlainText::Part#map_boundary
- Defined in:
- lib/plain_text/part.rb
#map_boundary(**kwd, &bl) ⇒ Object
map method for boundaries only, returning a copied self.
If recursive is true (Default), any Boundaries in the descendant Parts are also handled.
If a Boundary is set nil or empty, along with the preceding Paragraph, the pair is removed from the returned instance in Default (:compact and :compacter options
-
see #initialize for detail)
251 252 253 |
# File 'lib/plain_text/part.rb', line 251 def map_boundary(**kwd, &bl) map_boundary_core(with_index: false, **kwd, &bl) end |