Skip to content

(What-is) The best way to get the last line of a paragraph #1316

Discussion options

You must be logged in to vote

The closes thing to what you want that Prawn has is probably Prawn::Text::Formatted::Arranger but keep in mind that it's not a public API and is not designed to be ergonomic.

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@PhilippePerret
Comment options

Answer selected by PhilippePerret
Comment options

You must be logged in to vote
1 reply
@pointlessone
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants