class Prawn::Text::Formatted::Arranger::NotFinalized

Constants

DEFAULT_MESSAGE
MESSAGE_WITH_METHOD

Public Class Methods

new(message = DEFAULT_MESSAGE, method: nil) click to toggle source
Calls superclass method
# File lib/prawn/text/formatted/arranger.rb, line 20
def initialize(message = DEFAULT_MESSAGE, method: nil)
  if method && message == DEFAULT_MESSAGE
    super format(MESSAGE_WITH_METHOD, method: method)
  else
    super message
  end
end